Skip to content

Commit

Permalink
Merge pull request moby#11268 from duglin/FixServerURLUsage
Browse files Browse the repository at this point in the history
Use server.URL() instead of server.URL
  • Loading branch information
crosbymichael committed Mar 10, 2015
2 parents feb02a2 + 40c8e78 commit c5af44e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration-cli/docker_cli_build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit c5af44e

Please sign in to comment.