This commit is contained in:
marco 2025-05-02 21:28:33 +02:00
parent 65a5c29dc0
commit 89b4fbe2aa
2 changed files with 1 additions and 2 deletions

View file

@ -25,7 +25,7 @@ func (cli *cliConfig) showKey(key string) error {
}
opts := []expr.Option{}
opts = append(opts, exprhelpers.GetExprOptions(map[string]interface{}{})...)
opts = append(opts, exprhelpers.GetExprOptions(map[string]any{})...)
opts = append(opts, expr.Env(Env{}))
program, err := expr.Compile(key, opts...)

View file

@ -75,7 +75,6 @@ teardown() {
}
@test "duplicate notification config" {
CONFIG_DIR=$(dirname "$CONFIG_YAML")
# email_default has two configurations
rune -0 yq -i '.name="email_default"' "$CONFIG_DIR/notifications/http.yaml"
# enable a notification, otherwise plugins are ignored