mirror of
https://github.com/containers/podman.git
synced 2025-10-18 19:53:58 +08:00
do not set the CreateCommand for API users
This should be set only by podman as it is used for the podman generate systemd --new command. For the api it was set to the system service command which is simply pointless. It must be empty in these cases. Fixes #25026 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -73,7 +73,6 @@ func PodCreate(w http.ResponseWriter, r *http.Request) {
|
||||
// a few extra that do not have the same json tags
|
||||
psg.InfraContainerSpec.Name = psg.InfraName
|
||||
psg.InfraContainerSpec.ConmonPidFile = psg.InfraConmonPidFile
|
||||
psg.InfraContainerSpec.ContainerCreateCommand = psg.InfraCommand
|
||||
psg.InfraContainerSpec.Image = psg.InfraImage
|
||||
psg.InfraContainerSpec.RawImageName = psg.InfraImage
|
||||
}
|
||||
|
Reference in New Issue
Block a user