Report a metric for time taken to perform recursive permission change
This commit is contained in:
@@ -109,6 +109,11 @@ func OperationCompleteHook(plugin, operationName string) func(*error) {
|
||||
return opComplete
|
||||
}
|
||||
|
||||
// FSGroupCompleteHook returns a hook to call when volume recursive permission is changed
|
||||
func FSGroupCompleteHook(pluginName string) func(*error) {
|
||||
return OperationCompleteHook(pluginName, "volume_fsgroup_recursive_apply")
|
||||
}
|
||||
|
||||
// GetFullQualifiedPluginNameForVolume returns full qualified plugin name for
|
||||
// given volume. For CSI plugin, it appends plugin driver name at the end of
|
||||
// plugin name, e.g. kubernetes.io/csi:csi-hostpath. It helps to distinguish
|
||||
|
Reference in New Issue
Block a user