add log on completion of update

Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
This commit is contained in:
Matthew R. Kasun 2022-07-06 10:27:20 -04:00
parent f59a3c860e
commit dcc637e98a

View file

@ -36,6 +36,7 @@ func UpdateClientConfig() {
if logic.StringSliceContains(u.RequiredVersions, cfg.Node.Version) {
logger.Log(0, "updating ", cfg.Network)
u.OP(&cfg)
logger.Log(0, "updated", cfg.Node.Version, "to", u.NewVersion, "for node", cfg.Node.Name)
cfg.Node.Version = u.NewVersion
configChanged = true
}