- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for prepareUpdateMessage (0.09 sec)
-
cmd/update-notifier.go
"runtime" "strings" "time" "github.com/cheggaaa/pb" humanize "github.com/dustin/go-humanize" "github.com/minio/minio/internal/color" ) // prepareUpdateMessage - prepares the update message, only if a // newer version is available. func prepareUpdateMessage(downloadURL string, older time.Duration) string { if downloadURL == "" || older <= 0 { return "" } // Compute friendly duration string to indicate time
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Mar 09 03:07:08 UTC 2024 - 3.6K bytes - Viewed (0) -
cmd/common-main.go
older = lrTime.Sub(currentReleaseTime) downloadURL = getDownloadURL(releaseTimeToReleaseTag(lrTime)) } updateMsg := prepareUpdateMessage(downloadURL, older) if updateMsg == "" { return } logger.Info(prepareUpdateMessage("Run `mc admin update ALIAS`", lrTime.Sub(currentReleaseTime))) } func newConfigDir(dir string, dirSet bool, getDefaultDir func() string) (*ConfigDir, error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 31.7K bytes - Viewed (0)