diff options
| author | James Elliott <james-d-elliott@users.noreply.github.com> | 2022-10-05 16:05:23 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-05 16:05:23 +1100 |
| commit | dc79c8ea59622d19db22dae6753936da2be6412f (patch) | |
| tree | 75465ddc18215115c382b97ac7a0382361f9f69c /internal/configuration/types.go | |
| parent | 9ae703fe5152b09e0484e31d54dec573e9f0ea7c (diff) | |
refactor: any (#4133)
* refactor: any
* refactor: fix test
Diffstat (limited to 'internal/configuration/types.go')
| -rw-r--r-- | internal/configuration/types.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/configuration/types.go b/internal/configuration/types.go index 90dbaa63c..5946ea7f2 100644 --- a/internal/configuration/types.go +++ b/internal/configuration/types.go @@ -38,11 +38,11 @@ type SecretsSource struct { type CommandLineSource struct { koanf *koanf.Koanf flags *pflag.FlagSet - callback func(flag *pflag.Flag) (string, interface{}) + callback func(flag *pflag.Flag) (string, any) } // MapSource loads configuration from the command line flags. type MapSource struct { - m map[string]interface{} + m map[string]any koanf *koanf.Koanf } |
