Fix an error in the K8s state

- Final state should be STARTED, not VM_STARTED

Signed-off-by: Eric Promislow <epromislow@suse.com>
This commit is contained in:
Eric Promislow
2021-10-04 10:07:16 -07:00
parent 0cde9b3f84
commit ffc13f29ac

View File

@@ -779,7 +779,7 @@ export default class LimaBackend extends events.EventEmitter implements K8s.Kube
100,
this.client?.waitForReadyNodes() ?? Promise.reject(new Error('No client')));
this.setState(K8s.State.VM_STARTED);
this.setState(K8s.State.STARTED);
} catch (err) {
console.error('Error starting lima:', err);
this.setState(K8s.State.ERROR);