chore: use log.Printf(...) instead of log.Println(fmt.Sprintf(...)) (#70658)

This commit is contained in:
guangwu 2023-06-26 15:10:12 +08:00 committed by GitHub
parent 5e2ee56597
commit 80226291a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -252,7 +252,7 @@ func (p *publisher) postRequest(url string, obj interface{}, desc string) error
}
if p.dryRun {
log.Println(fmt.Sprintf("POST to %s:", p.apiURL(url)))
log.Printf("POST to %s:\n", p.apiURL(url))
log.Println(string(jsonBytes))
return nil
}