Merge pull request #11143 from dmcgowan/graph-v2-push-cleanup

Cleanup v2 push logic
This commit is contained in:
Tibor Vass
2015-03-10 11:56:02 -04:00
4 changed files with 235 additions and 186 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ func TestPushUntagged(t *testing.T) {
repoName := fmt.Sprintf("%v/dockercli/busybox", privateRegistryURL)
expected := "No tags to push"
expected := "Repository does not exist"
pushCmd := exec.Command(dockerBinary, "push", repoName)
if out, _, err := runCommandWithOutput(pushCmd); err == nil {
t.Fatalf("pushing the image to the private registry should have failed: outuput %q", out)