edited logging variable format to fit same standard across all fn related projects (#1350)

This commit is contained in:
Nisha Lad
2018-12-11 15:16:03 +00:00
committed by Gerardo Viedma
parent 39ed3b64e7
commit 024fd54392
5 changed files with 25 additions and 25 deletions

View File

@@ -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.")
}