Add staticcheck fixes (#3221)
* Add staticcheck fixes Signed-off-by: Sanket Sudake <sanketsudake@gmail.com> * update golangci-lint version Signed-off-by: Sanket Sudake <sanketsudake@gmail.com> --------- Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
@@ -83,7 +83,7 @@ func (l *actionLock) wait() error {
|
||||
case <-ch:
|
||||
return nil
|
||||
case <-time.After(l.timeExpiry):
|
||||
return errors.New("Error waiting for actionLock to be released: Exceeded timeout")
|
||||
return errors.New("error waiting for actionLock to be released: Exceeded timeout")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user