mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
Update pod inspect report to hold current pod status.
Added status field in pod inspect report. Fixed pod tests to use it. Signed-off-by: Sujil02 <sushah@redhat.com>
This commit is contained in:
@ -18,6 +18,8 @@ type InspectPodData struct {
|
||||
Namespace string `json:"Namespace,omitempty"`
|
||||
// Created is the time when the pod was created.
|
||||
Created time.Time
|
||||
// State represents the current state of the pod.
|
||||
State string `json:"State"`
|
||||
// Hostname is the hostname that the pod will set.
|
||||
Hostname string
|
||||
// Labels is a set of key-value labels that have been applied to the
|
||||
|
Reference in New Issue
Block a user