mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-16 20:08:09 +00:00
make user triggered reimaging happen immediately (#566)
This commit is contained in:
@ -281,8 +281,8 @@ class Node(BASE_NODE, ORMMixin):
|
||||
)
|
||||
return None
|
||||
|
||||
def stop(self) -> None:
|
||||
self.to_reimage()
|
||||
def stop(self, done: bool = False) -> None:
|
||||
self.to_reimage(done=done)
|
||||
self.send_message(NodeCommand(stop=StopNodeCommand()))
|
||||
|
||||
def set_shutdown(self) -> None:
|
||||
|
Reference in New Issue
Block a user