Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 06f4c68

Browse files
Merge pull request #2265 from thaJeztah/19.03_backport_fix_pull_test
[19.03 backport] fix(pull_test): for quiet option Upstream-commit: 7a9a02068848dc2327e753febbabb58ea97b6774 Component: cli
2 parents b8f9951 + 33e6e19 commit 06f4c68

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

components/cli/cli/command/image/pull_test.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ func TestNewPullCommandSuccess(t *testing.T) {
5050
testCases := []struct {
5151
name string
5252
args []string
53-
flags map[string]string
5453
expectedTag string
5554
}{
5655
{
@@ -64,11 +63,8 @@ func TestNewPullCommandSuccess(t *testing.T) {
6463
expectedTag: "image:latest",
6564
},
6665
{
67-
name: "simple-quiet",
68-
args: []string{"image"},
69-
flags: map[string]string{
70-
"quiet": "true",
71-
},
66+
name: "simple-quiet",
67+
args: []string{"--quiet", "image"},
7268
expectedTag: "image:latest",
7369
},
7470
}
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Using default tag: latest
21
docker.io/library/image:latest

0 commit comments

Comments
 (0)