mirror of
https://github.com/kubernetes/client-go.git
synced 2026-08-09 07:56:11 +00:00
Fixes a copy-paste error in client-go's metrics.Register(): when
opts.ExecPluginPolicyCalls != nil, the code re-assigned ExecPluginCalls
instead of setting ExecPluginPolicyCalls, so the exec plugin policy calls
metric was never registered.
Fixes: fab280950da ("Add client-go credential plugin to kuberc")
Found-by: Aleksandr Dryaba <a.dryaba@postgrespro.ru>
Signed-off-by: Maksim Korotkov <m.korotkov@postgrespro.ru>
Kubernetes-commit: 506142286573f6a822a9e54db07c28f4decf4996