Skip to content

Commit

Permalink
fix type for command
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Hellegouarch <[email protected]>
  • Loading branch information
Lawouach committed Apr 19, 2024
1 parent a604370 commit 5728d7d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,15 @@

## [Unreleased][]

[Unreleased]: https://github.com/chaostoolkit-incubator/kubernetes-crd/compare/0.11.0...HEAD
[Unreleased]: https://github.com/chaostoolkit-incubator/kubernetes-crd/compare/0.11.1...HEAD

## [0.11.1][] - 2024-04-19

[0.11.1]: https://github.com/chaostoolkit-incubator/kubernetes-crd/compare/0.11.0...0.11.1

### Fixed

* A container command is a list of string, not just a single string

## [0.11.0][] - 2024-04-19

Expand Down
2 changes: 1 addition & 1 deletion controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def set_chaos_cmd_path(
for container in spec["containers"]:
if container["name"] == "chaostoolkit":
if "chaos" in container["command"][0]:
container["command"] = cmd_path
container["command"] = [cmd_path]


def set_cron_job_name(cron_tpl: Dict[str, Any], name_suffix: str) -> str:
Expand Down

0 comments on commit 5728d7d

Please sign in to comment.