address formatting from black 21.4b0 (#831)

This commit is contained in:
bmc-msft
2021-04-26 12:35:16 -04:00
committed by GitHub
parent b5db1bd3fe
commit cf3d904940
23 changed files with 128 additions and 128 deletions

View File

@ -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)

View File

@ -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