summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKubernetes Prow Robot <k8s-ci-robot@users.noreply.github.com>2021-01-27 06:11:40 -0800
committerGitHub <noreply@github.com>2021-01-27 06:11:40 -0800
commita4cbb64527645c1ec8b98b0444d4eada294ede89 (patch)
tree24bb4269a5b034175d291337614add46e26476b3
parentc78c26294b8bd137dd5cc0c807aadc728dad6a57 (diff)
parent8c193ef247674beabee5c0f5f259458cf5539e76 (diff)
Merge pull request #5437 from chymy/cm-20210127
Fix klog.Infof change to klog.InfoS err
-rw-r--r--contributors/devel/sig-instrumentation/migration-to-structured-logging.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/contributors/devel/sig-instrumentation/migration-to-structured-logging.md b/contributors/devel/sig-instrumentation/migration-to-structured-logging.md
index d6acb7ea..5e84e45a 100644
--- a/contributors/devel/sig-instrumentation/migration-to-structured-logging.md
+++ b/contributors/devel/sig-instrumentation/migration-to-structured-logging.md
@@ -173,7 +173,7 @@ klog.Infof("delete pod %s with propagation policy %s", ...)
```
should be changed to
```go
-klog.Infof("Deleted pod", ...)
+klog.InfoS("Deleted pod", ...)
```
Some logs are constructed solely from string formats. In those cases a message needs to be derived from the context of