Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for handleCommonArgs (0.32 sec)

  1. cmd/common-main.go

    	if conf := ctx.String("config"); len(conf) > 0 {
    		err = mergeServerCtxtFromConfigFile(conf, ctxt)
    	} else {
    		err = mergeDisksLayoutFromArgs(serverCmdArgs(ctx), ctxt)
    	}
    
    	return err
    }
    
    func handleCommonArgs(ctxt serverCtxt) {
    	if ctxt.JSON {
    		logger.EnableJSON()
    	}
    	if ctxt.Quiet {
    		logger.EnableQuiet()
    	}
    	if ctxt.Anonymous {
    		logger.EnableAnonymous()
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. cmd/server-main.go

    				args:          list.Args,
    				setDriveCount: driveCount,
    			})
    		}
    	}
    	ctxt.Layout, err = buildDisksLayoutFromConfFile(pools)
    	return err
    }
    
    func serverHandleCmdArgs(ctxt serverCtxt) {
    	handleCommonArgs(ctxt)
    
    	logger.FatalIf(CheckLocalServerAddr(globalMinioAddr), "Unable to validate passed arguments")
    
    	var err error
    	var setupType SetupType
    
    	// Check and load TLS certificates.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
Back to top