summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSuraj Deshmukh <surajd.service@gmail.com>2017-11-24 23:01:46 +0530
committerAtomic Bot <atomic-devel@projectatomic.io>2017-11-28 14:30:12 +0000
commit7eb4772694ed9b522fe688d8bd12a56ab3be751f (patch)
tree9e3686ca8536a2e93c472afa344ea5e6a446f552 /cmd
parentd43f7867282f04d3003c44ee96eb2324c6d2a0aa (diff)
downloadpodman-7eb4772694ed9b522fe688d8bd12a56ab3be751f.tar.gz
podman-7eb4772694ed9b522fe688d8bd12a56ab3be751f.tar.bz2
podman-7eb4772694ed9b522fe688d8bd12a56ab3be751f.zip
remove unused functions and variables
Signed-off-by: Suraj Deshmukh <surajd.service@gmail.com> Closes: #71 Approved by: rhatdan
Diffstat (limited to 'cmd')
-rw-r--r--cmd/kpod/common_test.go10
-rw-r--r--cmd/kpod/export.go5
2 files changed, 0 insertions, 15 deletions
diff --git a/cmd/kpod/common_test.go b/cmd/kpod/common_test.go
index 663bc41e1..8a3bfd181 100644
--- a/cmd/kpod/common_test.go
+++ b/cmd/kpod/common_test.go
@@ -1,7 +1,6 @@
package main
import (
- "os/exec"
"os/user"
"testing"
@@ -40,12 +39,3 @@ func skipTestIfNotRoot(t *testing.T) {
t.Skip("tests will fail unless run as root")
}
}
-
-func pullTestImage(name string) error {
- cmd := exec.Command("crioctl", "image", "pull", name)
- err := cmd.Run()
- if err != nil {
- return err
- }
- return nil
-}
diff --git a/cmd/kpod/export.go b/cmd/kpod/export.go
index aaa4b2803..9b498562e 100644
--- a/cmd/kpod/export.go
+++ b/cmd/kpod/export.go
@@ -8,11 +8,6 @@ import (
"github.com/urfave/cli"
)
-type exportOptions struct {
- output string
- container string
-}
-
var (
exportFlags = []cli.Flag{
cli.StringFlag{