cleanup
This commit is contained in:
parent
4c605f15c3
commit
8beafa216d
1 changed files with 0 additions and 14 deletions
|
@ -1,10 +1,7 @@
|
|||
#!/usr/bin/python3
|
||||
import json
|
||||
import sys
|
||||
from dateutil import parser
|
||||
from datetime import datetime, timedelta
|
||||
from pprint import pprint
|
||||
# from datetime import timedelta
|
||||
|
||||
OK = 0
|
||||
WARNING = 1
|
||||
|
@ -29,17 +26,6 @@ for vm in zsync_data:
|
|||
failed = True
|
||||
|
||||
|
||||
# result = []
|
||||
|
||||
# for backup in backup_state:
|
||||
# backup_vm = backup[0]
|
||||
# backup_name = backup[1]
|
||||
# backup_status = backup[2]
|
||||
# if backup_status == 'ok' or backup_status == 'syncing' or backup_status == 'waiting':
|
||||
# pass
|
||||
# else:
|
||||
# print(backup_vm + ' is fucked')
|
||||
|
||||
if failed:
|
||||
print('Backup in failed state\n')
|
||||
pprint(backup_state)
|
||||
|
|
Loading…
Reference in a new issue