summaryrefslogtreecommitdiff
path: root/pkg/specgen
diff options
context:
space:
mode:
authorCharlie Doern <cdoern@redhat.com>2022-08-01 16:35:18 -0400
committerCharlie Doern <cdoern@redhat.com>2022-08-08 10:38:13 -0400
commit62e889e2b08117edccb95b863bdd936547b362a7 (patch)
tree08e904eef9c7b7709bc05529ef8cbe17632582eb /pkg/specgen
parent70b03400b18c80ee8a2864d0af1012ec8683a26a (diff)
downloadpodman-62e889e2b08117edccb95b863bdd936547b362a7.tar.gz
podman-62e889e2b08117edccb95b863bdd936547b362a7.tar.bz2
podman-62e889e2b08117edccb95b863bdd936547b362a7.zip
fix LogConfig type for libpod API
[NO NEW TESTS NEEDED] our native API was consuming the docker compat type for the API since the two have the exact same name. Fix this by renaming LogConfig to LogConfigLibpod resolves #15138 Signed-off-by: Charlie Doern <cdoern@redhat.com>
Diffstat (limited to 'pkg/specgen')
-rw-r--r--pkg/specgen/specgen.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/specgen/specgen.go b/pkg/specgen/specgen.go
index c31c3f035..b90f07ef8 100644
--- a/pkg/specgen/specgen.go
+++ b/pkg/specgen/specgen.go
@@ -13,7 +13,8 @@ import (
spec "github.com/opencontainers/runtime-spec/specs-go"
)
-// LogConfig describes the logging characteristics for a container
+// LogConfig describes the logging characteristics for a container
+// swagger:model LogConfigLibpod
type LogConfig struct {
// LogDriver is the container's log driver.
// Optional.