Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-08-01 18:11:13 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-01 18:11:13 +0300
commitfaa19db44a5a4d0fb7a3be07319ca6201caa185a (patch)
tree7370bae7c72258b93ab0f02ba87145b43de5313f /app/models/prometheus_alert.rb
parent9c5341dd0832c3af377191c461c800e1aa048b10 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/prometheus_alert.rb')
-rw-r--r--app/models/prometheus_alert.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/prometheus_alert.rb b/app/models/prometheus_alert.rb
index 684f50d5f58..9080f3d9de1 100644
--- a/app/models/prometheus_alert.rb
+++ b/app/models/prometheus_alert.rb
@@ -25,7 +25,7 @@ class PrometheusAlert < ApplicationRecord
validates :environment, :project, :prometheus_metric, :threshold, :operator, presence: true
validates :runbook_url, length: { maximum: 255 }, allow_blank: true,
- addressable_url: { enforce_sanitization: true, ascii_only: true }
+ addressable_url: { enforce_sanitization: true, ascii_only: true }
validate :require_valid_environment_project!
validate :require_valid_metric_project!