summaryrefslogtreecommitdiff
path: root/cmd/podman/tree.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-07-03 14:35:11 -0500
committerbaude <bbaude@redhat.com>2019-07-03 15:41:33 -0500
commitfec1de6ef4b3f769ba0906cda948a3215709cd37 (patch)
tree416a56f712f80f538d4b6ed5bc12ae43aaa07c4f /cmd/podman/tree.go
parentf5593d305f68409cf093ea6b66a9d1f121ec0fd6 (diff)
downloadpodman-fec1de6ef4b3f769ba0906cda948a3215709cd37.tar.gz
podman-fec1de6ef4b3f769ba0906cda948a3215709cd37.tar.bz2
podman-fec1de6ef4b3f769ba0906cda948a3215709cd37.zip
trivial cleanups from golang
the results of a code cleanup performed by the goland IDE. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/tree.go')
-rw-r--r--cmd/podman/tree.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/tree.go b/cmd/podman/tree.go
index 0f62858e8..48e192990 100644
--- a/cmd/podman/tree.go
+++ b/cmd/podman/tree.go
@@ -127,7 +127,7 @@ func printImageChildren(layerMap map[string]*image.LayerInfo, layerID string, pr
}
fmt.Printf("%sID: %s Size: %7v%s\n", intend, ll.ID[:12], units.HumanSizeWithPrecision(float64(ll.Size), 4), tags)
for count, childID := range ll.ChildID {
- if err := printImageChildren(layerMap, childID, prefix, (count == len(ll.ChildID)-1)); err != nil {
+ if err := printImageChildren(layerMap, childID, prefix, count == len(ll.ChildID)-1); err != nil {
return err
}
}