Skip to content

Commit

Permalink
config: add cluster section to getSection.
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
  • Loading branch information
hsanjuan committed Jan 14, 2019
1 parent 7f30a5e commit 325e31d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/config.go
Expand Up @@ -178,6 +178,8 @@ type jsonConfig struct {

func (jcfg *jsonConfig) getSection(i SectionType) jsonSection {
switch i {
case Cluster:
return jcfg.Cluster
case Consensus:
return jcfg.Consensus
case API:
Expand Down

0 comments on commit 325e31d

Please sign in to comment.