Add monthly license update job (#16391)

This commit is contained in:
Shireesh Anjal
2023-01-17 05:08:15 +05:30
committed by GitHub
parent 3039fd4519
commit 5a9f7516d6
3 changed files with 175 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2015-2022 MinIO, Inc.
// Copyright (c) 2015-2023 MinIO, Inc.
//
// This file is part of MinIO Object Storage stack
//
@@ -720,6 +720,9 @@ func serverMain(ctx *cli.Context) {
setCacheObjectLayer(cacheAPI)
}
// Initialize the license update job
initLicenseUpdateJob(GlobalContext, newObject)
// Prints the formatted startup message, if err is not nil then it prints additional information as well.
printStartupMessage(getAPIEndpoints(), err)