From 4f85ed985d478ddf6692fa4f7d8d98d2a412d18c Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Wed, 16 Aug 2017 11:28:48 -0700 Subject: Fixing licensing (#7226) --- utils/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/config.go b/utils/config.go index af88f816e..36474c921 100644 --- a/utils/config.go +++ b/utils/config.go @@ -655,7 +655,7 @@ func Desanitize(cfg *model.Config) { } func IsLeader() bool { - if IsLicensed && *Cfg.ClusterSettings.Enable && einterfaces.GetClusterInterface() != nil { + if IsLicensed() && *Cfg.ClusterSettings.Enable && einterfaces.GetClusterInterface() != nil { return einterfaces.GetClusterInterface().IsLeader() } else { return true -- cgit v1.2.3-1-g7c22