mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #99929 from lala123912/lint_clean
Remove unused/dead code
This commit is contained in:
commit
bb0906dcb2
@ -77,7 +77,6 @@ const (
|
||||
volPrefix = "vol_"
|
||||
dynamicEpSvcPrefix = "glusterfs-dynamic"
|
||||
replicaCount = 3
|
||||
durabilityType = "replicate"
|
||||
secretKeyName = "key" // key name used in secret
|
||||
gciLinuxGlusterMountBinaryPath = "/sbin/mount.glusterfs"
|
||||
defaultGidMin = 2000
|
||||
|
@ -30,10 +30,8 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
losetupPath = "losetup"
|
||||
statPath = "stat"
|
||||
ErrDeviceNotFound = "device not found"
|
||||
ErrDeviceNotSupported = "device not supported"
|
||||
losetupPath = "losetup"
|
||||
ErrDeviceNotFound = "device not found"
|
||||
)
|
||||
|
||||
// BlockVolumePathHandler defines a set of operations for handling block volume-related operations
|
||||
|
@ -36,7 +36,6 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
maxRetries = 10
|
||||
checkSleepDuration = time.Second
|
||||
diskByIDPath = "/dev/disk/by-id/"
|
||||
diskSCSIPrefix = "wwn-0x"
|
||||
|
@ -1653,7 +1653,6 @@ func podRunning(ctx context.Context, c clientset.Interface, podName, namespace s
|
||||
}
|
||||
|
||||
const (
|
||||
podStartTimeout = 5 * time.Minute
|
||||
poll = 2 * time.Second
|
||||
pvcAsSourceProtectionFinalizer = "snapshot.storage.kubernetes.io/pvc-as-source-protection"
|
||||
volumeSnapshotContentFinalizer = "snapshot.storage.kubernetes.io/volumesnapshotcontent-bound-protection"
|
||||
|
Loading…
Reference in New Issue
Block a user