Commit dac4d9c6 authored by Felix Seibert's avatar Felix Seibert
Browse files

making failed commands list more explicit

parent 07476c7f
......@@ -224,9 +224,7 @@ class OSDManager(object):
for process in processes:
# check the return code. if it is one, the replica could not be deleted, so we try again later.
if not process[2]:
pass
else:
if process[2] == 1:
errored_deletions.append(process[0])
if len(errored_deletions) == 0:
......
Supports Markdown
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