Change log message format

This commit is contained in:
Patrick Pacher 2020-04-21 15:43:48 +02:00
parent 3d7d1fa0df
commit 0a0dda36e0
No known key found for this signature in database
GPG key ID: E8CD2DA160925A6D

View file

@ -89,10 +89,10 @@ func updateRegistryConfig(_ context.Context, _ interface{}) error {
if forceUpdate {
module.Resolve(updateFailed)
_ = TriggerUpdate()
log.Infof("Automatic updates enabled again.")
log.Infof("updates: automatic updates enabled again.")
} else {
module.Warning(updateFailed, "Updates are disabled!")
log.Warningf("Automatic updates are now disabled.")
log.Warningf("updates: automatic updates are now disabled.")
}
}