mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
Add tests for checking of uncertain device paths
This commit is contained in:
@@ -869,8 +869,8 @@ func (fv *FakeVolume) GetSetUpDeviceCallCount() int {
|
||||
|
||||
// Block volume support
|
||||
func (fv *FakeVolume) GetGlobalMapPath(spec *volume.Spec) (string, error) {
|
||||
fv.RLock()
|
||||
defer fv.RUnlock()
|
||||
fv.Lock()
|
||||
defer fv.Unlock()
|
||||
fv.GlobalMapPathCallCount++
|
||||
return fv.getGlobalMapPath()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user