Modify code to use new interface functions

This commit is contained in:
Hemant Kumar
2022-03-08 14:35:54 -05:00
parent 2e54686f1b
commit e4f62d6c41
9 changed files with 55 additions and 23 deletions

View File

@@ -23,6 +23,7 @@ package cache
import (
"fmt"
"k8s.io/apimachinery/pkg/api/resource"
"sync"
"time"
@@ -581,6 +582,10 @@ func (asw *actualStateOfWorld) GetAttachState(
return AttachStateDetached
}
func (asw *actualStateOfWorld) SetVolumeClaimSize(volumeName v1.UniqueVolumeName, claimSize *resource.Quantity) {
klog.V(5).Infof("doing nothing")
}
func (asw *actualStateOfWorld) GetAttachedVolumes() []AttachedVolume {
asw.RLock()
defer asw.RUnlock()