diff --git a/python_on_whales/components/pod/cli_wrapper.py b/python_on_whales/components/pod/cli_wrapper.py index 30c57162..9846b4e5 100644 --- a/python_on_whales/components/pod/cli_wrapper.py +++ b/python_on_whales/components/pod/cli_wrapper.py @@ -435,9 +435,7 @@ def create( full_cmd.add_flag("--no-hosts", no_hosts) full_cmd.add_simple_arg("--pid", pid) full_cmd.add_simple_arg("--pod-id-file", pod_id_file) - full_cmd.add_args_iterable( - "-p", [format_port_arg(p) for p in publish] - ) + full_cmd.add_args_iterable("-p", [format_port_arg(p) for p in publish]) full_cmd.add_flag("--replace", replace) full_cmd.add_simple_arg("--restart", restart) full_cmd.add_args_iterable("--security-opt", security_options)