Fix cmd.util.Infof args

PiperOrigin-RevId: 518927601
This commit is contained in:
Fabricio Voznika
2023-03-23 12:10:01 -07:00
committed by gVisor bot
parent 7b5cd4dda5
commit bd30e8ba68
+2 -2
View File
@@ -48,8 +48,8 @@ func (i *Writer) Write(data []byte) (n int, err error) {
// Infof writes message to log and stdout.
func Infof(format string, args ...any) {
log.Infof(format, args)
fmt.Printf(format+"\n", args)
log.Infof(format, args...)
fmt.Printf(format+"\n", args...)
}
// Errorf logs error to containerd log (--log), to stderr, and debug logs. It