slapos.grid: report: fix unbound 'destroyed' variable.

parent b7b74e57
......@@ -1112,6 +1112,7 @@ class Slapgrid(object):
for computer_partition in computer_partition_list:
if computer_partition.getState() == COMPUTER_PARTITION_DESTROYED_STATE:
destroyed = False
try:
computer_partition_id = computer_partition.getId()
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment