Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sysulq committed Sep 30, 2022
1 parent ac38367 commit 5359357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/rocketmq/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (l *mqLogger) Fatal(msg string, fields map[string]interface{}) {
return
}

fs := []zap.Field{}
fs := make([]zap.Field, 0, len(fields))

for key, value := range fields {
fs = append(fs, zap.Any(key, value))
Expand Down

0 comments on commit 5359357

Please sign in to comment.