diff --git a/pkg/utils/env/env.go b/pkg/utils/env/env.go index 580e970b5255..2142081b85f2 100644 --- a/pkg/utils/env/env.go +++ b/pkg/utils/env/env.go @@ -19,9 +19,6 @@ import ( "strconv" ) -// WithDefaultString returns the string value of the supplied environ variable or, if not -// present, the supplied default value - // WithDefaultInt returns the int value of the supplied environ variable or, if not present, // the supplied default value. If the int conversion fails, returns the default func WithDefaultInt(key string, def int) int { @@ -35,6 +32,3 @@ func WithDefaultInt(key string, def int) int { } return i } - -// WithDefaultBool returns the boolvalue of the supplied environ variable or, if not present, -// the supplied default value. If the conversion fails, returns the default diff --git a/pkg/utils/functional/functional.go b/pkg/utils/functional/functional.go index fd1e0e15445a..acbee33add17 100644 --- a/pkg/utils/functional/functional.go +++ b/pkg/utils/functional/functional.go @@ -107,6 +107,4 @@ func HasAnyPrefix(s string, prefixes ...string) bool { } } return false -} - -// InvertStringMap swaps keys to values and values to keys. All values must be distinct. +} \ No newline at end of file