Fixed check mode

Change-Id: I3a7a0b0567ac24fb9433352fdc99022bf366fc6a
This commit is contained in:
Jakob Meng
2022-11-08 13:48:01 +01:00
parent 764a8bff64
commit 8c889f8eb3
4 changed files with 8 additions and 8 deletions

View File

@@ -255,10 +255,10 @@ class VolumeBackupModule(OpenStackModule):
# openstacksdk does not support it either
return False
elif state == 'absent' and backup:
return False
return True
else:
# state == 'absent' and not backup:
return True
return False
def main():