Skip to content

Commit 7ae79ff

Browse files
committed
chore: clean comment
1 parent 0a32d9f commit 7ae79ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/commands/run.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ func (c *runCommand) execute(_ *cobra.Command, args []string) {
238238
needTrackResources := logutils.IsVerbose() || c.opts.PrintResourcesUsage
239239

240240
trackResourcesEndCh := make(chan struct{})
241-
defer func() { // XXX: this defer must be before ctx.cancel defer
241+
defer func() { // Note: this defer must be before ctx.cancel defer
242242
if needTrackResources { // wait until resource tracking finished to print properly
243243
<-trackResourcesEndCh
244244
}

0 commit comments

Comments
 (0)