From 325e31d55337fdf3b732da00ac83383c2f4aa0ff Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Mon, 14 Jan 2019 12:00:53 +0100 Subject: [PATCH] config: add cluster section to getSection. License: MIT Signed-off-by: Hector Sanjuan --- config/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/config.go b/config/config.go index aeb1cdbf5..ba2604aa0 100644 --- a/config/config.go +++ b/config/config.go @@ -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: