Skip to content

Commit

Permalink
Merge pull request #480 from agrare/add_zone_id_to_validation_depende…
Browse files Browse the repository at this point in the history
…ncies
  • Loading branch information
Fryguy authored Jan 23, 2024
2 parents 14a1b1d + d7dbaa9 commit 5935588
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def self.params_for_create
:name => "authentications.prometheus.valid",
:skipSubmit => true,
:isRequired => true,
:validationDependencies => ['type', "metrics_selection", "authentications.bearer.auth_key"],
:validationDependencies => %w[type zone_id metrics_selection authentications.bearer.auth_key],
:condition => {
:when => "metrics_selection",
:is => 'prometheus',
Expand Down

0 comments on commit 5935588

Please sign in to comment.