mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-21 09:57:52 +00:00
Modify code to use new interface functions
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user