mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
cleanup: correct linter name mnd to gomnd
Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
parent
fb7389f478
commit
3f3489367c
@ -541,7 +541,7 @@ func validateThickPVC(f *framework.Framework, pvc *v1.PersistentVolumeClaim, siz
|
|||||||
}
|
}
|
||||||
|
|
||||||
// expanding the PVC should thick-allocate the expansion
|
// expanding the PVC should thick-allocate the expansion
|
||||||
// nolint:mnd // we want 2x the size so that extending is done
|
// nolint:gomnd // we want 2x the size so that extending is done
|
||||||
newSize := du.ProvisionedSize * 2
|
newSize := du.ProvisionedSize * 2
|
||||||
err = expandPVCSize(f.ClientSet, pvc, fmt.Sprintf("%d", newSize), deployTimeout)
|
err = expandPVCSize(f.ClientSet, pvc, fmt.Sprintf("%d", newSize), deployTimeout)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user