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:
Giuseppe Scrivano 2023-10-09 09:57:12 +02:00
parent e9d6ffa8f0
commit 36bf905181
No known key found for this signature in database
GPG Key ID: 67E38F7A8BA21772
1 changed files with 0 additions and 2 deletions

View File

@ -13,7 +13,6 @@ import (
"github.com/containers/podman/v4/pkg/specgen"
"github.com/containers/podman/v4/pkg/specgen/generate"
"github.com/containers/podman/v4/pkg/specgenutil"
"github.com/sirupsen/logrus"
)
// 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))
return
}
logrus.Errorf("Privileged: %v", sg.ContainerSecurityConfig.Privileged)
if sg.Passwd == nil {
t := true
sg.Passwd = &t