Skip to content

Commit

Permalink
Merge pull request #842 from Ostorlab/fix/support_many_colon_in_agent…
Browse files Browse the repository at this point in the history
…_args

Support Arguments with Colons in Their Values
  • Loading branch information
3asm authored Dec 2, 2024
2 parents f71298f + 8f6d729 commit b73b604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ostorlab/cli/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def convert(
click.BadParameter: If the argument value cannot be parsed into the expected format.
"""
try:
arg_name, arg_value = arg_value.split(":")
arg_name, arg_value = arg_value.split(":", 1)
return AgentArg(name=arg_name, value=arg_value)
except ValueError:
self.fail(
Expand Down

0 comments on commit b73b604

Please sign in to comment.