summaryrefslogtreecommitdiff
path: root/internal/commands/util.go
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2023-08-02 14:34:57 +1000
committerGitHub <noreply@github.com>2023-08-02 14:34:57 +1000
commita7d8057c28063c9676e70023b58624d6fd8c7d99 (patch)
treebffb7e718ea65215dce762a734bcff4df5587a37 /internal/commands/util.go
parent514ab24841fef905d7810c3bdb0d4fdf9b5caeb3 (diff)
test(configuration): add several scenarios (#5708)
This adds several tests to current expected scenarios and makes some minor adjustments specifically for testability and consistency. The tests are intended to cover a specific scenario which was described by a user which cannot be replicated at this stage. Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
Diffstat (limited to 'internal/commands/util.go')
-rw-r--r--internal/commands/util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/commands/util.go b/internal/commands/util.go
index bab9c70c9..f5b03676e 100644
--- a/internal/commands/util.go
+++ b/internal/commands/util.go
@@ -212,7 +212,7 @@ const (
XEnvCLIResultEnvironment
)
-func loadXEnvCLIConfigValues(cmd *cobra.Command) (configs []string, filters []configuration.FileFilter, err error) {
+func loadXEnvCLIConfigValues(cmd *cobra.Command) (configs []string, filters []configuration.BytesFilter, err error) {
var (
filterNames []string
result XEnvCLIResult