mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 05:30:24 +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.
|
// because of network errors.
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
console.Println(updateMsg)
|
if updateMsg.Update {
|
||||||
|
console.Println(updateMsg)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in New Issue
Block a user