Make admin interface enabled by default.
parent
c9d6087fe1
commit
93201bd68c
|
@ -119,6 +119,8 @@ func NewConfig() *Config {
|
|||
c.Data.Port = DefaultDataPort
|
||||
c.Data.RetentionCheckEnabled = true
|
||||
c.Data.RetentionCheckPeriod = Duration(10 * time.Minute)
|
||||
c.Admin.Enabled = true
|
||||
c.Admin.Port = 8083
|
||||
|
||||
// Detect hostname (or set to localhost).
|
||||
if c.Hostname, _ = os.Hostname(); c.Hostname == "" {
|
||||
|
|
|
@ -70,6 +70,7 @@ func createCombinedNodeCluster(t *testing.T, testName string, nNodes, basePort i
|
|||
c.Data.Dir = filepath.Join(tmpDataDir, strconv.Itoa(basePort))
|
||||
c.Broker.Port = basePort
|
||||
c.Data.Port = basePort
|
||||
c.Admin.Enabled = false
|
||||
|
||||
b, s := main.Run(c, "", "x.x", os.Stderr)
|
||||
if b == nil {
|
||||
|
|
Loading…
Reference in New Issue