Skip to content

Commit

Permalink
stop logging full tar source url unless error (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
inorthtyphoon authored May 25, 2018
1 parent a218720 commit 66119e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/commands/docker_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func (s *DockerSource) ensureContextFromURL(runner build.Runner, out io.Writer,
return 0, "", errors.Errorf("unable to download remote context %s: %v", remoteURL, err)
}
progressOutput := streamformatter.NewProgressOutput(out)
progReader := progress.NewProgressReader(response.Body, progressOutput, response.ContentLength, "", fmt.Sprintf("Downloading build context from remote url: %s", remoteURL))
progReader := progress.NewProgressReader(response.Body, progressOutput, response.ContentLength, "", "Downloading build context")
defer func(response *http.Response) {
err := response.Body.Close()
if err != nil {
Expand Down

0 comments on commit 66119e9

Please sign in to comment.