Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
Signed-off-by: Lee Trager <lee.trager@canonical.com>
  • Loading branch information
ltrager committed Mar 27, 2020
1 parent 4369217 commit e6ead2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylxd/models/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def _set_state(self, state, timeout=30, force=True, wait=False):
self.client.operations.wait_for_operation(
response.json()['operation'])
if 'status' in self.__dirty__:
del self.__dirty__[self.__dirty__.index('status')]
self.__dirty__.remove('status')
if self.ephemeral and state == 'stop':
self.client = None
else:
Expand Down

0 comments on commit e6ead2c

Please sign in to comment.