diff --git a/builder/remotecontext/detect.go b/builder/remotecontext/detect.go index aaace269e93d08811c9e0f9714bd79b0b4d5c7a6..49b196ed7bd2de39ddf607598d38d0b09c125690 100644 --- a/builder/remotecontext/detect.go +++ b/builder/remotecontext/detect.go @@ -22,8 +22,7 @@ import ( const ClientSessionRemote = "client-session" // Detect returns a context and dockerfile from remote location or local -// archive. progressReader is only used if remoteURL is actually a URL -// (not empty, and not a Git endpoint). +// archive. func Detect(config backend.BuildConfig) (remote builder.Source, dockerfile *parser.Result, err error) { remoteURL := config.Options.RemoteContext dockerfilePath := config.Options.Dockerfile