chore: fix golint

This commit is contained in:
andyzhangx 2023-10-03 04:01:25 +00:00
parent b458e3a53f
commit 6c32316f44
2 changed files with 1 additions and 3 deletions

View File

@ -116,7 +116,7 @@ func logGRPC(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, h
}
type VolumeLocks struct {
locks sets.String
locks sets.String //nolint:staticcheck
mux sync.Mutex
}

View File

@ -48,13 +48,11 @@ import (
)
const (
execTimeout = 10 * time.Second
// Some pods can take much longer to get ready due to volume attach/detach latency.
slowPodStartTimeout = 15 * time.Minute
// Description that will printed during tests
failedConditionDescription = "Error status code"
poll = 2 * time.Second
pollLongTimeout = 5 * time.Minute
pollForStringTimeout = 1 * time.Minute
)