diff options
| author | Kubernetes Prow Robot <k8s-ci-robot@users.noreply.github.com> | 2021-01-27 06:11:40 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-27 06:11:40 -0800 |
| commit | a4cbb64527645c1ec8b98b0444d4eada294ede89 (patch) | |
| tree | 24bb4269a5b034175d291337614add46e26476b3 | |
| parent | c78c26294b8bd137dd5cc0c807aadc728dad6a57 (diff) | |
| parent | 8c193ef247674beabee5c0f5f259458cf5539e76 (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.md | 2 |
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 |
