mirror of https://github.com/status-im/consul.git
fix(agent): uninitialized map panic error
This commit is contained in:
parent
60c7c831c6
commit
fc0dd92dcf
|
@ -415,6 +415,7 @@ func New(bd BaseDeps) (*Agent, error) {
|
|||
checkGRPCs: make(map[structs.CheckID]*checks.CheckGRPC),
|
||||
checkDockers: make(map[structs.CheckID]*checks.CheckDocker),
|
||||
checkAliases: make(map[structs.CheckID]*checks.CheckAlias),
|
||||
checkOSServices: make(map[structs.CheckID]*checks.CheckOSService),
|
||||
eventCh: make(chan serf.UserEvent, 1024),
|
||||
eventBuf: make([]*UserEvent, 256),
|
||||
joinLANNotifier: &systemd.Notifier{},
|
||||
|
|
Loading…
Reference in New Issue