diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2017-12-16 09:38:55 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-12-18 16:46:05 +0000 |
commit | de3468e120d489d046c08dad72ba2262e222ccb1 (patch) | |
tree | 8956f751c460baf23f95b5bfd9a441bd71d8f5dd /cmd/kpod/inspect.go | |
parent | f2f9fdf12674623dd0d38b32408083cccdad5e66 (diff) | |
download | podman-de3468e120d489d046c08dad72ba2262e222ccb1.tar.gz podman-de3468e120d489d046c08dad72ba2262e222ccb1.tar.bz2 podman-de3468e120d489d046c08dad72ba2262e222ccb1.zip |
CleanUp problems found my make lint.
Remove or comment out unused functions.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Closes: #145
Approved by: umohnani8
Diffstat (limited to 'cmd/kpod/inspect.go')
-rw-r--r-- | cmd/kpod/inspect.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cmd/kpod/inspect.go b/cmd/kpod/inspect.go index e3387841b..3f9da8d83 100644 --- a/cmd/kpod/inspect.go +++ b/cmd/kpod/inspect.go @@ -165,7 +165,7 @@ func getCtrInspectInfo(ctr *libpod.Container, ctrInspectData *libpod.ContainerIn CPUQuota: quota, CPURealtimePeriod: realtimePeriod, CPURealtimeRuntime: realtimeRuntime, - CPUSetCpus: cpus, + CPUSetCPUs: cpus, CPUSetMems: mems, Devices: spec.Linux.Devices, KernelMemory: memKernel, @@ -187,9 +187,9 @@ func getCtrInspectInfo(ctr *libpod.Container, ctrInspectData *libpod.ContainerIn AutoRemove: createArtifact.Rm, CapAdd: createArtifact.CapAdd, CapDrop: createArtifact.CapDrop, - DNS: createArtifact.DnsServers, - DNSOptions: createArtifact.DnsOpt, - DNSSearch: createArtifact.DnsSearch, + DNS: createArtifact.DNSServers, + DNSOptions: createArtifact.DNSOpt, + DNSSearch: createArtifact.DNSSearch, PidMode: string(createArtifact.PidMode), CgroupParent: createArtifact.CgroupParent, ShmSize: createArtifact.Resources.ShmSize, @@ -312,7 +312,7 @@ type HostConfig struct { Isolation string `json:"Isolation"` //TODO CPUShares *uint64 `json:"CPUSShares"` Memory int64 `json:"Memory"` - NanoCpus int `json:"NanoCpus"` //check type, TODO + NanoCPUs int `json:"NanoCPUs"` //check type, TODO CgroupParent string `json:"CgroupParent"` BlkioWeight *uint16 `json:"BlkioWeight"` BlkioWeightDevice []specs.LinuxWeightDevice `json:"BlkioWeightDevice"` @@ -324,7 +324,7 @@ type HostConfig struct { CPUQuota *int64 `json:"CPUQuota"` CPURealtimePeriod *uint64 `json:"CPURealtimePeriod"` CPURealtimeRuntime *int64 `json:"CPURealtimeRuntime"` - CPUSetCpus string `json:"CPUSetCpus"` + CPUSetCPUs string `json:"CPUSetCPUs"` CPUSetMems string `json:"CPUSetMems"` Devices []specs.LinuxDevice `json:"Devices"` DiskQuota int `json:"DiskQuota"` //check type, TODO |