Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for printStartupMessage (0.2 sec)

  1. cmd/server-startup-msg_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatal(err)
    	}
    
    	apiEndpoints := []string{"http://127.0.0.1:9000"}
    	printStartupMessage(apiEndpoints, nil)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. cmd/server-startup-msg.go

    func getFormatStr(strLen int, padding int) string {
    	formatStr := fmt.Sprintf("%ds", strLen+padding)
    	return "%" + formatStr
    }
    
    // Prints the formatted startup message.
    func printStartupMessage(apiEndpoints []string, err error) {
    	banner := strings.Repeat("-", len(MinioBannerName))
    	if globalIsDistErasure {
    		logger.Startup(color.Bold(banner))
    	}
    	logger.Startup(color.Bold(MinioBannerName))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. cmd/server-main.go

    			go globalBatchJobsMetrics.purgeJobMetrics()
    		})
    
    		// Prints the formatted startup message, if err is not nil then it prints additional information as well.
    		printStartupMessage(getAPIEndpoints(), err)
    
    		// Print a warning at the end of the startup banner so it is more noticeable
    		if newObject.BackendInfo().StandardSCParity == 0 && !globalIsErasureSD {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
Back to top