Skip to content

Commit

Permalink
Use context.Background()
Browse files Browse the repository at this point in the history
  • Loading branch information
isutton committed Dec 8, 2019
1 parent 6c552f1 commit 7eb02e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/cli/cmd/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7eb02e7

Please sign in to comment.