summaryrefslogtreecommitdiff
path: root/pkg/bindings/images/push.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/bindings/images/push.go')
-rw-r--r--pkg/bindings/images/push.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/bindings/images/push.go b/pkg/bindings/images/push.go
index 8db3726e6..5069dd780 100644
--- a/pkg/bindings/images/push.go
+++ b/pkg/bindings/images/push.go
@@ -62,6 +62,8 @@ func Push(ctx context.Context, source string, destination string, options *PushO
writer := io.Writer(os.Stderr)
if options.GetQuiet() {
writer = ioutil.Discard
+ } else if progressWriter := options.GetProgressWriter(); progressWriter != nil {
+ writer = progressWriter
}
dec := json.NewDecoder(response.Body)