mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 20:20:25 +03:00
turn-off checking for updates completely if MINIO_UPDATE=off (#10752)
This commit is contained in:
+1
-1
@@ -418,7 +418,7 @@ func serverMain(ctx *cli.Context) {
|
||||
}
|
||||
}
|
||||
|
||||
if !globalCLIContext.Quiet {
|
||||
if !globalCLIContext.Quiet && globalInplaceUpdateDisabled {
|
||||
// Check for new updates from dl.min.io.
|
||||
checkUpdate(getMinioMode())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user