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:
authorKamil Trzciński <ayufan@ayufan.eu>2018-09-04 12:42:58 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2018-09-04 13:19:23 +0300
commite6d2465d9732dea7b69e498c7a1feed544ba6a3c (patch)
tree2a7ca80588506ff726f414c64852a034246f01df /app/models/prometheus_metric.rb
parent0a9d771bcba036971ebc076112c4a62f2179e372 (diff)
Add `# frozen_string_literal: true`
Diffstat (limited to 'app/models/prometheus_metric.rb')
-rw-r--r--app/models/prometheus_metric.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/prometheus_metric.rb b/app/models/prometheus_metric.rb
index 87ea0762856..9527c596088 100644
--- a/app/models/prometheus_metric.rb
+++ b/app/models/prometheus_metric.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class PrometheusMetric < ActiveRecord::Base
belongs_to :project, validate: true, inverse_of: :prometheus_metrics