This commit is contained in:
Sergey Cherepanov 2023-04-13 20:46:56 +02:00 committed by Mikhail Iudin
parent 4bff7f503d
commit 81cf289a85
No known key found for this signature in database
GPG Key ID: FAAAA8BAABDFF1C0

View File

@ -126,9 +126,9 @@ func (s *service) setLastConfiguration(c Configuration) (err error) {
beforeId = s.last.Id() beforeId = s.last.Id()
} }
if s.last != nil { if s.last != nil {
log.Info("nodeConf changed", zap.String("before", beforeId), zap.String("after", nc.Id())) log.Info("net configuration changed", zap.String("before", beforeId), zap.String("after", nc.Id()))
} else { } else {
log.Info("nodeConf applied", zap.String("netId", nc.Configuration().NetworkId), zap.String("after", nc.Id())) log.Info("net configuration applied", zap.String("netId", nc.Configuration().NetworkId), zap.String("after", nc.Id()))
} }
s.last = nc s.last = nc
return return