chore: fix golint
This commit is contained in:
parent
b458e3a53f
commit
6c32316f44
@ -116,7 +116,7 @@ func logGRPC(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, h
|
|||||||
}
|
}
|
||||||
|
|
||||||
type VolumeLocks struct {
|
type VolumeLocks struct {
|
||||||
locks sets.String
|
locks sets.String //nolint:staticcheck
|
||||||
mux sync.Mutex
|
mux sync.Mutex
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -48,13 +48,11 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
execTimeout = 10 * time.Second
|
|
||||||
// Some pods can take much longer to get ready due to volume attach/detach latency.
|
// Some pods can take much longer to get ready due to volume attach/detach latency.
|
||||||
slowPodStartTimeout = 15 * time.Minute
|
slowPodStartTimeout = 15 * time.Minute
|
||||||
// Description that will printed during tests
|
// Description that will printed during tests
|
||||||
failedConditionDescription = "Error status code"
|
failedConditionDescription = "Error status code"
|
||||||
poll = 2 * time.Second
|
poll = 2 * time.Second
|
||||||
pollLongTimeout = 5 * time.Minute
|
|
||||||
pollForStringTimeout = 1 * time.Minute
|
pollForStringTimeout = 1 * time.Minute
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user