From 14967efde43dbbb437fafc01fd1ef80a22325822 Mon Sep 17 00:00:00 2001 From: micnncim Date: Fri, 18 Sep 2020 16:33:12 +0900 Subject: [PATCH] Remove unused variable (#45) --- pkg/resource/persistentvolume.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/resource/persistentvolume.go b/pkg/resource/persistentvolume.go index a410cb8..ce9f9ec 100644 --- a/pkg/resource/persistentvolume.go +++ b/pkg/resource/persistentvolume.go @@ -20,10 +20,6 @@ import ( corev1 "k8s.io/api/core/v1" ) -const ( - storageObjectInUseProtection = "StorageObjectInUseProtection" -) - // CheckVolumeSatisfyClaim checks if the volume requested by the claim satisfies the requirements of the claim. func CheckVolumeSatisfyClaim(volume *corev1.PersistentVolume, claim *corev1.PersistentVolumeClaim) bool { if !checkCapacitySatisfyRequest(volume, claim) {