Files
client-go/tools
Maksim Korotkov 91e2504019 metrics: Register: Fix incorrect assignment
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
2026-08-03 16:57:07 +03:00
..