linting
This commit is contained in:
@@ -122,5 +122,5 @@ func (c *orchestratorClient) callContext(ctx context.Context) (context.Context,
|
||||
if timeout <= 0 {
|
||||
timeout = 3 * time.Second
|
||||
}
|
||||
return context.WithTimeout(ctx, timeout)
|
||||
return context.WithTimeout(ctx, timeout) //nolint:gosec // cancel func is always invoked by call sites
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user