Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Behar <simbeh7@gmail.com>
  • Loading branch information
simster7 committed Oct 27, 2021
1 parent d40929c commit b7a3b4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b7a3b4a

Please sign in to comment.