Merge pull request #20308 from giuseppe/drop-debug-msg

api: drop debug statement
This commit is contained in:
openshift-ci[bot]
2023-10-09 11:05:46 +00:00
committed by GitHub

View File

@ -13,7 +13,6 @@ import (
"github.com/containers/podman/v4/pkg/specgen" "github.com/containers/podman/v4/pkg/specgen"
"github.com/containers/podman/v4/pkg/specgen/generate" "github.com/containers/podman/v4/pkg/specgen/generate"
"github.com/containers/podman/v4/pkg/specgenutil" "github.com/containers/podman/v4/pkg/specgenutil"
"github.com/sirupsen/logrus"
) )
// CreateContainer takes a specgenerator and makes a container. It returns // CreateContainer takes a specgenerator and makes a container. It returns
@ -41,7 +40,6 @@ func CreateContainer(w http.ResponseWriter, r *http.Request) {
utils.Error(w, http.StatusInternalServerError, fmt.Errorf("decode(): %w", err)) utils.Error(w, http.StatusInternalServerError, fmt.Errorf("decode(): %w", err))
return return
} }
logrus.Errorf("Privileged: %v", sg.ContainerSecurityConfig.Privileged)
if sg.Passwd == nil { if sg.Passwd == nil {
t := true t := true
sg.Passwd = &t sg.Passwd = &t