diff --git a/pkg/cmd/cli/cmd/generate.go b/pkg/cmd/cli/cmd/generate.go index 87083da9f..3a5a27ee9 100644 --- a/pkg/cmd/cli/cmd/generate.go +++ b/pkg/cmd/cli/cmd/generate.go @@ -78,7 +78,7 @@ $ s2i generate docker://quay.io/redhat-developer/app-binding-operator Dockerfile cfg.BuilderImage = cmd.Flags().Arg(0) cfg.AsDockerfile = cmd.Flags().Arg(1) - ctx := context.TODO() + ctx := context.Background() var imageLabels map[string]string var err error if imageLabels, err = getImageLabels(ctx, cfg.BuilderImage); err != nil {