summaryrefslogtreecommitdiff
path: root/libpod/define/pod_inspect.go
diff options
context:
space:
mode:
authorzhangguanzhang <zhangguanzhang@qq.com>2020-11-18 16:52:49 +0800
committerzhangguanzhang <zhangguanzhang@qq.com>2020-11-18 18:06:06 +0800
commit76a38fc3f236f9197ab0761d5cc11cb37cee5e41 (patch)
treec5227aac15526a287ea5de2f30b0550ad60da3b2 /libpod/define/pod_inspect.go
parenta6f7afd41729edbe0d8cbf21bab5b475c6a13f9e (diff)
downloadpodman-76a38fc3f236f9197ab0761d5cc11cb37cee5e41.tar.gz
podman-76a38fc3f236f9197ab0761d5cc11cb37cee5e41.tar.bz2
podman-76a38fc3f236f9197ab0761d5cc11cb37cee5e41.zip
Fix podman pod inspect show wrong MAC string
Signed-off-by: zhangguanzhang <zhangguanzhang@qq.com>
Diffstat (limited to 'libpod/define/pod_inspect.go')
-rw-r--r--libpod/define/pod_inspect.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/define/pod_inspect.go b/libpod/define/pod_inspect.go
index a4115eb92..2fa91166f 100644
--- a/libpod/define/pod_inspect.go
+++ b/libpod/define/pod_inspect.go
@@ -67,7 +67,7 @@ type InspectPodInfraConfig struct {
StaticIP net.IP
// StaticMAC is a static MAC address that will be assigned to the infra
// container and then used by the pod.
- StaticMAC net.HardwareAddr
+ StaticMAC string
// NoManageResolvConf indicates that the pod will not manage resolv.conf
// and instead each container will handle their own.
NoManageResolvConf bool