Skip to content

Commit f905d90

Browse files
author
Alan Christie
committed
fix: Fix typo in exception
1 parent fa94ac4 commit f905d90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

operator/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def create(name, namespace, spec, **_):
197197
command_items = shlex.split(command)
198198
except ValueError as ex:
199199
logging.error("Got ValueError trying to split the command (%s)", command)
200-
raise kopf.PermanentError(f"ValueError ({ex.status})")
200+
raise kopf.PermanentError(f"ValueError ({ex})")
201201

202202
# Security options
203203
sc_run_as_user = material.get("securityContext", {}).get(

0 commit comments

Comments
 (0)