mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
edited logging variable format to fit same standard across all fn related projects (#1350)
This commit is contained in:
committed by
Gerardo Viedma
parent
39ed3b64e7
commit
024fd54392
@@ -1059,12 +1059,12 @@ func (s *Server) startGears(ctx context.Context, cancel context.CancelFunc) {
|
||||
nth, recv, wasSend := reflect.Select(cases)
|
||||
if wasSend {
|
||||
logrus.WithFields(logrus.Fields{
|
||||
"ctxNumber": nth,
|
||||
"receivedValue": recv.String(),
|
||||
"ctx_number": nth,
|
||||
"received_value": recv.String(),
|
||||
}).Debug("Stopping because of received value from done context.")
|
||||
} else {
|
||||
logrus.WithFields(logrus.Fields{
|
||||
"ctxNumber": nth,
|
||||
"ctx_number": nth,
|
||||
}).Debug("Stopping because of closed channel from done context.")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user