turn-off checking for updates completely if MINIO_UPDATE=off (#10752)

This commit is contained in:
Harshavardhana
2020-10-24 22:39:44 -07:00
committed by GitHub
parent d9db7f3308
commit 646d6917ed
9 changed files with 12 additions and 17 deletions

View File

@@ -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())
}