diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-07-23 10:21:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-23 10:21:41 +0200 |
commit | 26749204d5fcd333706bef187b75cd3c6b39b835 (patch) | |
tree | 1fe72a798eef9d803e7714ea877304f1568171bd /cmd/podman | |
parent | a12a2312ac5c6c485eaa1d45e4b7e29d6cc4a9ff (diff) | |
parent | 0c3038d4b5479e475217f2990107f376024d5726 (diff) | |
download | podman-26749204d5fcd333706bef187b75cd3c6b39b835.tar.gz podman-26749204d5fcd333706bef187b75cd3c6b39b835.tar.bz2 podman-26749204d5fcd333706bef187b75cd3c6b39b835.zip |
Merge pull request #3621 from baude/golangcilint4
golangci-lint phase 4
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/build.go | 10 | ||||
-rw-r--r-- | cmd/podman/images.go | 1 |
2 files changed, 0 insertions, 11 deletions
diff --git a/cmd/podman/build.go b/cmd/podman/build.go index 5ee35dea0..19337985d 100644 --- a/cmd/podman/build.go +++ b/cmd/podman/build.go @@ -308,16 +308,6 @@ func buildCmd(c *cliconfig.BuildValues) error { return runtime.Build(getContext(), c, options, dockerfiles) } -// Tail returns a string slice after the first element unless there are -// not enough elements, then it returns an empty slice. This is to replace -// the urfavecli Tail method for args -func Tail(a []string) []string { - if len(a) >= 2 { - return a[1:] - } - return []string{} -} - // useLayers returns false if BUILDAH_LAYERS is set to "0" or "false" // otherwise it returns true func useLayers() string { diff --git a/cmd/podman/images.go b/cmd/podman/images.go index 3b32ee3dd..fe7c89b5c 100644 --- a/cmd/podman/images.go +++ b/cmd/podman/images.go @@ -51,7 +51,6 @@ type imagesOptions struct { outputformat string sort string all bool - useReadOnly bool } // Type declaration and functions for sorting the images output |