Update Target State for updated states

This commit is contained in:
sophia 2022-03-15 10:16:41 -05:00 committed by Paul Hinze
parent b62bdd8efb
commit 6e420689cb
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -133,6 +133,10 @@ func (t *Target) State() (state core.State, err error) {
state = core.CREATED
case vagrant_server.Operation_DESTROYED:
state = core.DESTROYED
case vagrant_server.Operation_HALTED:
state = core.HALTED
case vagrant_server.Operation_NOT_CREATED:
state = core.NOT_CREATED
case vagrant_server.Operation_PENDING:
state = core.PENDING
default: