Ensure that StagingPath is supplied to blockVolume expansion

This commit is contained in:
Hemant Kumar
2020-07-01 10:16:23 -04:00
parent 69613da0ae
commit 6342dad709
8 changed files with 83 additions and 37 deletions

View File

@@ -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()