diff --git a/internal/helper/validation/valid_notification_variables.go b/internal/helper/validation/valid_notification_variables.go index 261406f6..6ef69187 100644 --- a/internal/helper/validation/valid_notification_variables.go +++ b/internal/helper/validation/valid_notification_variables.go @@ -11,9 +11,7 @@ import ( var _ validator.Set = notificationVariablesValidator{} -type notificationVariablesValidator struct { - schemes []string -} +type notificationVariablesValidator struct{} func (v notificationVariablesValidator) Description(_ context.Context) string { return "value must be a valid set of webhook variables"