Skip to content

Commit ec67fe1

Browse files
committed
cmd: reuse context
we can use a single context, no need to have different ones. Signed-off-by: Francesco Romani <[email protected]>
1 parent ee72e81 commit ec67fe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ func main() {
273273
os.Exit(1)
274274
}
275275

276-
imgs, pullPolicy := images.Discover(context.Background(), params.image.Exporter)
276+
imgs, pullPolicy := images.Discover(ctx, params.image.Exporter)
277277

278278
rteManifestsRendered, err := renderRTEManifests(rteManifests, namespace, imgs)
279279
if err != nil {

0 commit comments

Comments
 (0)