Skip to content

Commit

Permalink
Use default serialization rather than JSON serialization for struct c…
Browse files Browse the repository at this point in the history
…ontaining Go channel (#7412)

Use default serialization rather than JSON serialization for Go channel
  • Loading branch information
owenniles authored Sep 29, 2022
1 parent 7723764 commit 5381a45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ func (s *DefaultScalingAlgorithm) ProcessEvents(globalCtx context.Context, gorou
contextFields := []interface{}{
zap.String("id", serverEvent.ID),
zap.Any("type", serverEvent.Type),
zap.Any("data", serverEvent.Data),
zap.String("data", utils.Sprintf("%v", serverEvent.Data)),
zap.String("region", serverEvent.Region),
}
logger.Errorw(utils.Sprintf("error running mandelbox assign action: %s", err), contextFields)
Expand Down

0 comments on commit 5381a45

Please sign in to comment.