mirror of
https://github.com/containers/podman.git
synced 2025-06-23 02:18:13 +08:00
Merge pull request #20308 from giuseppe/drop-debug-msg
api: drop debug statement
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user