mirror of https://github.com/containers/podman.git
api: drop debug statement
remove what seems to be a debugging artifact. [NO NEW TESTS NEEDED] Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
e9d6ffa8f0
commit
36bf905181
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue