summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
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{