vendor: update github.com/yunify/qingstor-sdk-go to v3

This commit is contained in:
Nick Craig-Wood 2019-08-14 14:58:30 +01:00
parent b84cc0cae7
commit a72ef7ca0e
51 changed files with 1560 additions and 750 deletions

View file

@ -383,14 +383,10 @@ func (e *Event) write(format string, v ...interface{}) {
defer buf.Free()
// Format print message.
if format != "" {
if len(v) == 0 {
fmt.Fprint(buf, format)
} else {
fmt.Fprintf(buf, format, v...)
}
if len(v) == 0 {
fmt.Fprint(buf, format)
} else {
fmt.Fprint(buf, v...)
fmt.Fprintf(buf, format, v...)
}
// Append filed.