@@ -364,35 +364,36 @@ func Load(filename string) (*Config, error) {
364364 }
365365
366366 cfg := & Config {
367- BindAddr : c .Olricd .BindAddr ,
368- BindPort : c .Olricd .BindPort ,
369- Interface : c .Olricd .Interface ,
370- ServiceDiscovery : c .ServiceDiscovery ,
371- MemberlistInterface : c .Memberlist .Interface ,
372- MemberlistConfig : memberlistConfig ,
373- Client : & clientConfig ,
374- LogLevel : c .Logging .Level ,
375- JoinRetryInterval : joinRetryInterval ,
376- RoutingTablePushInterval : routingTablePushInterval ,
377- TriggerBalancerInterval : triggerBalancerInterval ,
378- MaxJoinAttempts : c .Memberlist .MaxJoinAttempts ,
379- Peers : c .Memberlist .Peers ,
380- PartitionCount : c .Olricd .PartitionCount ,
381- ReplicaCount : c .Olricd .ReplicaCount ,
382- WriteQuorum : c .Olricd .WriteQuorum ,
383- ReadQuorum : c .Olricd .ReadQuorum ,
384- ReplicationMode : c .Olricd .ReplicationMode ,
385- ReadRepair : c .Olricd .ReadRepair ,
386- LoadFactor : c .Olricd .LoadFactor ,
387- MemberCountQuorum : c .Olricd .MemberCountQuorum ,
388- Logger : log .New (logOutput , "" , log .LstdFlags ),
389- LogOutput : logOutput ,
390- LogVerbosity : c .Logging .Verbosity ,
391- Hasher : hasher .NewDefaultHasher (),
392- KeepAlivePeriod : keepAlivePeriod ,
393- BootstrapTimeout : bootstrapTimeout ,
394- LeaveTimeout : leaveTimeout ,
395- DMaps : dmapConfig ,
367+ BindAddr : c .Olricd .BindAddr ,
368+ BindPort : c .Olricd .BindPort ,
369+ Interface : c .Olricd .Interface ,
370+ ServiceDiscovery : c .ServiceDiscovery ,
371+ MemberlistInterface : c .Memberlist .Interface ,
372+ MemberlistConfig : memberlistConfig ,
373+ Client : & clientConfig ,
374+ LogLevel : c .Logging .Level ,
375+ JoinRetryInterval : joinRetryInterval ,
376+ RoutingTablePushInterval : routingTablePushInterval ,
377+ TriggerBalancerInterval : triggerBalancerInterval ,
378+ EnableClusterEventsChannel : c .Olricd .EnableClusterEventsChannel ,
379+ MaxJoinAttempts : c .Memberlist .MaxJoinAttempts ,
380+ Peers : c .Memberlist .Peers ,
381+ PartitionCount : c .Olricd .PartitionCount ,
382+ ReplicaCount : c .Olricd .ReplicaCount ,
383+ WriteQuorum : c .Olricd .WriteQuorum ,
384+ ReadQuorum : c .Olricd .ReadQuorum ,
385+ ReplicationMode : c .Olricd .ReplicationMode ,
386+ ReadRepair : c .Olricd .ReadRepair ,
387+ LoadFactor : c .Olricd .LoadFactor ,
388+ MemberCountQuorum : c .Olricd .MemberCountQuorum ,
389+ Logger : log .New (logOutput , "" , log .LstdFlags ),
390+ LogOutput : logOutput ,
391+ LogVerbosity : c .Logging .Verbosity ,
392+ Hasher : hasher .NewDefaultHasher (),
393+ KeepAlivePeriod : keepAlivePeriod ,
394+ BootstrapTimeout : bootstrapTimeout ,
395+ LeaveTimeout : leaveTimeout ,
396+ DMaps : dmapConfig ,
396397 }
397398
398399 if err := cfg .Sanitize (); err != nil {
0 commit comments