mirror of
https://github.com/containers/podman-compose.git
synced 2025-06-20 11:47:50 +02:00
Remove unnecessary comment
Signed-off-by: Elsa <zeyugao@outlook.com>
This commit is contained in:
parent
24899edbed
commit
f5c457aa7c
@ -788,7 +788,6 @@ def container_to_cpu_res_args(cnt, podman_args):
|
||||
f"deploy.resources.limits.pids ({deploy_pids}) must be the same"
|
||||
)
|
||||
|
||||
# Use whichever value is set (prioritizing pids_limit if both are set)
|
||||
final_pids_limit = pids_limit if pids_limit is not None else deploy_pids
|
||||
if final_pids_limit is not None:
|
||||
podman_args.extend(["--pids-limit", str(final_pids_limit)])
|
||||
|
Loading…
x
Reference in New Issue
Block a user