Skip to content

Commit

Permalink
Fix unmarshall error. (hashicorp#332)
Browse files Browse the repository at this point in the history
New Podman 5.0 API: containers/podman@de845a5.
Upstream has an unmarshal API implementation: containers/podman@585af03.
  • Loading branch information
hbsnmyj authored and lukaszo committed Jun 4, 2024
1 parent ef9cf4b commit bdcec83
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions api/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -581,15 +581,17 @@ type InspectContainerConfig struct {
// Container working directory
WorkingDir string `json:"WorkingDir"`
// Container entrypoint
Entrypoint string `json:"Entrypoint"`
// Podman 5.0 changed this to []string, ignoring.
// Entrypoint []string `json:"Entrypoint"`
// On-build arguments - presently unused. More of Buildah's domain.
OnBuild *string `json:"OnBuild"`
// Container labels
Labels map[string]string `json:"Labels"`
// Container annotations
Annotations map[string]string `json:"Annotations"`
// Container stop signal
StopSignal uint `json:"StopSignal"`
// Podman 5.0 changed this to string, ignoring.
// StopSignal string `json:"StopSignal"`
// Configured healthcheck for the container
// Healthcheck *manifest.Schema2HealthConfig `json:"Healthcheck,omitempty"`
// CreateCommand is the full command plus arguments of the process the
Expand Down

0 comments on commit bdcec83

Please sign in to comment.