Browse Source

Use server.URL() instead of server.URL

Old way now returns the go type instead of the value

Signed-off-by: Doug Davis <dug@us.ibm.com>
Doug Davis 10 years ago
parent
commit
40c8e78757
1 changed files with 2 additions and 2 deletions
  1. 2 2
      integration-cli/docker_cli_build_test.go

+ 2 - 2
integration-cli/docker_cli_build_test.go

@@ -686,7 +686,7 @@ func TestBuildLastModified(t *testing.T) {
 ADD %s/file /
 RUN ls -le /file`
 
-	dockerfile := fmt.Sprintf(dFmt, server.URL)
+	dockerfile := fmt.Sprintf(dFmt, server.URL())
 
 	if _, out, err = buildImageWithOut(name, dockerfile, false); err != nil {
 		t.Fatal(err)
@@ -721,7 +721,7 @@ RUN ls -le /file`
 	}
 	defer server.Close()
 
-	dockerfile = fmt.Sprintf(dFmt, server.URL)
+	dockerfile = fmt.Sprintf(dFmt, server.URL())
 
 	if _, out2, err = buildImageWithOut(name, dockerfile, false); err != nil {
 		t.Fatal(err)