mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-21 09:57:52 +00:00
Ensure that StagingPath is supplied to blockVolume expansion
This commit is contained in:
@@ -998,6 +998,10 @@ func (fv *FakeVolume) SetUpDevice() (string, error) {
|
||||
return "", nil
|
||||
}
|
||||
|
||||
func (fv *FakeVolume) GetStagingPath() string {
|
||||
return filepath.Join(fv.Plugin.Host.GetVolumeDevicePluginDir(utilstrings.EscapeQualifiedName(fv.Plugin.PluginName)), "staging", fv.VolName)
|
||||
}
|
||||
|
||||
// Block volume support
|
||||
func (fv *FakeVolume) GetSetUpDeviceCallCount() int {
|
||||
fv.RLock()
|
||||
|
Reference in New Issue
Block a user