From b7a3b4a7389cff237cf0f3fa159e9495726a2e74 Mon Sep 17 00:00:00 2001 From: Simon Behar Date: Wed, 27 Oct 2021 12:43:57 -0400 Subject: [PATCH] typo Signed-off-by: Simon Behar --- config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.go b/config/config.go index 2b9f1c5aef68..eff7a983a6ca 100644 --- a/config/config.go +++ b/config/config.go @@ -257,11 +257,11 @@ type MetricsConfig struct { Secure *bool `json:"secure,omitempty"` } -func (mc MetricsConfig) GetSecure(defaulValue bool) bool { +func (mc MetricsConfig) GetSecure(defaultValue bool) bool { if mc.Secure != nil { return *mc.Secure } - return defaulValue + return defaultValue } type WorkflowRestrictions struct {