Skip to content

Commit

Permalink
Fixed kube-safe-drain LookupError string
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotte committed Oct 6, 2024
1 parent c73ea87 commit ee56052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-scripts/kube-safe-drain/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def workloads_to_restart(resources: list, kinds_skip: list, kinds_accept: list):
]

if len(cordoned_nodes_names) == 0:
raise LookupError(f'There are no cordoned nodes in the cluster')
raise LookupError('There are no cordoned nodes in the cluster')

workloads = {}

Expand Down

0 comments on commit ee56052

Please sign in to comment.