Fix klog.Infof change to klog.InfoS err

Signed-off-by: chymy <chang.min1@zte.com.cn>
This commit is contained in:
chymy 2021-01-27 18:38:30 +08:00
parent c07caac572
commit 8c193ef247
1 changed files with 1 additions and 1 deletions

View File

@ -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