Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit e772178

Browse files
committed
Loading Testing: Remove -i when use stdin
1 parent 6bad1ff commit e772178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration-cli/hyper_cli_load_local_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func (s *DockerSuite) TestLoadFromLocalTarPipe(c *check.C) {
2828

2929
//load via pipe
3030
catCmd := exec.Command("cat", imagePath)
31-
loadCmd := exec.Command(dockerBinary, "-H", os.Getenv("DOCKER_HOST"), "--config", os.Getenv("HYPER_CONFIG"), "load", "-i", imagePath)
31+
loadCmd := exec.Command(dockerBinary, "-H", os.Getenv("DOCKER_HOST"), "--config", os.Getenv("HYPER_CONFIG"), "load")
3232

3333
catOut, err := catCmd.StdoutPipe()
3434
catCmd.Start()

0 commit comments

Comments
 (0)