mirror of
https://github.com/pgsty/minio.git
synced 2026-07-16 00:41:25 +03:00
Do not print update message unless there is an update. (#2919)
This commit is contained in:
+3
-1
@@ -192,7 +192,9 @@ func Main() {
|
||||
// because of network errors.
|
||||
return nil
|
||||
}
|
||||
console.Println(updateMsg)
|
||||
if updateMsg.Update {
|
||||
console.Println(updateMsg)
|
||||
}
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user