mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-16 20:08:09 +00:00
address formatting from black 21.4b0 (#831)
This commit is contained in:
@ -366,7 +366,7 @@ class Node(BASE_NODE, ORMMixin):
|
||||
self.save()
|
||||
|
||||
def set_halt(self) -> None:
|
||||
""" Tell the node to stop everything. """
|
||||
"""Tell the node to stop everything."""
|
||||
self.set_shutdown()
|
||||
self.stop()
|
||||
self.set_state(NodeState.halt)
|
||||
|
@ -185,7 +185,7 @@ class Pool(BASE_POOL, ORMMixin):
|
||||
self.save()
|
||||
|
||||
def shutdown(self) -> None:
|
||||
""" shutdown allows nodes to finish current work then delete """
|
||||
"""shutdown allows nodes to finish current work then delete"""
|
||||
from .nodes import Node
|
||||
from .scalesets import Scaleset
|
||||
|
||||
@ -207,7 +207,7 @@ class Pool(BASE_POOL, ORMMixin):
|
||||
self.save()
|
||||
|
||||
def halt(self) -> None:
|
||||
""" halt the pool immediately """
|
||||
"""halt the pool immediately"""
|
||||
|
||||
from .nodes import Node
|
||||
from .scalesets import Scaleset
|
||||
|
Reference in New Issue
Block a user