We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a32d9f commit 7ae79ffCopy full SHA for 7ae79ff
pkg/commands/run.go
@@ -238,7 +238,7 @@ func (c *runCommand) execute(_ *cobra.Command, args []string) {
238
needTrackResources := logutils.IsVerbose() || c.opts.PrintResourcesUsage
239
240
trackResourcesEndCh := make(chan struct{})
241
- defer func() { // XXX: this defer must be before ctx.cancel defer
+ defer func() { // Note: this defer must be before ctx.cancel defer
242
if needTrackResources { // wait until resource tracking finished to print properly
243
<-trackResourcesEndCh
244
}
0 commit comments