Skip to content

Commit

Permalink
Remove unused variable (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
micnncim authored Sep 18, 2020
1 parent a8fb0b4 commit 14967ef
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/resource/persistentvolume.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 14967ef

Please sign in to comment.