Skip to content

Commit 7d54d4c

Browse files
committed
fix: correctly append to args.faulty
1 parent 970b265 commit 7d54d4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

checkvsphere/vcmd/clusterhealth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def run():
9292

9393
# if yellow is faulty, red is definitly faulty as well
9494
if 'overallStatusYellow' in args.faulty:
95-
args.faulty.append(['overallStatusRed'])
95+
args.faulty.append('overallStatusRed')
9696

9797
si = service_instance.connect(args)
9898
check = Check()

0 commit comments

Comments
 (0)