mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 13:31:52 +00:00
rename volume_fsgroup_recursive_apply metric to volume_apply_access_control
This commit is contained in:
parent
f4ddf15c1f
commit
481068c0d2
@ -132,7 +132,7 @@ func OperationCompleteHook(plugin, operationName string) func(types.CompleteFunc
|
|||||||
|
|
||||||
// FSGroupCompleteHook returns a hook to call when volume recursive permission is changed
|
// FSGroupCompleteHook returns a hook to call when volume recursive permission is changed
|
||||||
func FSGroupCompleteHook(plugin volume.VolumePlugin, spec *volume.Spec) func(types.CompleteFuncParam) {
|
func FSGroupCompleteHook(plugin volume.VolumePlugin, spec *volume.Spec) func(types.CompleteFuncParam) {
|
||||||
return OperationCompleteHook(GetFullQualifiedPluginNameForVolume(plugin.GetPluginName(), spec), "volume_fsgroup_recursive_apply")
|
return OperationCompleteHook(GetFullQualifiedPluginNameForVolume(plugin.GetPluginName(), spec), "volume_apply_access_control")
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetFullQualifiedPluginNameForVolume returns full qualified plugin name for
|
// GetFullQualifiedPluginNameForVolume returns full qualified plugin name for
|
||||||
|
Loading…
Reference in New Issue
Block a user