forked from TrueCloudLab/rclone
vendor: update github.com/yunify/qingstor-sdk-go to v3
This commit is contained in:
parent
b84cc0cae7
commit
a72ef7ca0e
51 changed files with 1560 additions and 750 deletions
10
vendor/github.com/pengsrc/go-shared/log/event.go
generated
vendored
10
vendor/github.com/pengsrc/go-shared/log/event.go
generated
vendored
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue