Skip to content

Commit a2ccd75

Browse files
Apply suggestions from code review
Co-authored-by: JUN YANG <[email protected]>
1 parent f406c1a commit a2ccd75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/metricshandler/metrics_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func (m *MetricsHandler) Run(ctx context.Context) error {
9999
return ctx.Err()
100100
}
101101

102-
klog.InfoS("Autosharding enabled with pod pod_namespace", "pod", m.opts.Pod, "namespace", m.opts.Namespace)
102+
klog.InfoS("Autosharding enabled with pod", "pod", klog.KRef(m.opts.Namespace, m.opts.Pod))
103103
klog.InfoS("Auto detecting sharding settings")
104104
ss, err := detectStatefulSet(m.kubeClient, m.opts.Pod, m.opts.Namespace)
105105
if err != nil {

0 commit comments

Comments
 (0)