change plugin name in fsgroupapplymetrics of csi and flexvolume to

distinguish different driver
This commit is contained in:
jornshen
2020-10-27 10:36:29 +08:00
parent 87cc9bca0f
commit db53ca01da
24 changed files with 128 additions and 25 deletions

View File

@@ -96,7 +96,7 @@ func diskSetUp(manager diskManager, b rbdMounter, volPath string, mounter mount.
klog.V(3).Infof("rbd: successfully bind mount %s to %s with options %v", globalPDPath, volPath, mountOptions)
if !b.ReadOnly {
volume.SetVolumeOwnership(&b, fsGroup, fsGroupChangePolicy, util.FSGroupCompleteHook(b.plugin.GetPluginName()))
volume.SetVolumeOwnership(&b, fsGroup, fsGroupChangePolicy, util.FSGroupCompleteHook(b.plugin, nil))
}
return nil