summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/services/concerns/exclusive_lease_guard.rb2
-rw-r--r--lib/gitlab/metrics/influx_db.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/services/concerns/exclusive_lease_guard.rb b/app/services/concerns/exclusive_lease_guard.rb
index 0c5ecca3a50..56bf113357e 100644
--- a/app/services/concerns/exclusive_lease_guard.rb
+++ b/app/services/concerns/exclusive_lease_guard.rb
@@ -21,7 +21,7 @@ module ExclusiveLeaseGuard
lease = exclusive_lease.try_obtain
unless lease
- log_error('Cannot obtain an exclusive lease. There must be another instance already in execution.')
+ log_error('Cannot obtain an exclusive lease. There must be another instance already in execution.') # rubocop:disable GetText/DecorateString
return
end
diff --git a/lib/gitlab/metrics/influx_db.rb b/lib/gitlab/metrics/influx_db.rb
index 269d90fa971..4a16db10917 100644
--- a/lib/gitlab/metrics/influx_db.rb
+++ b/lib/gitlab/metrics/influx_db.rb
@@ -57,7 +57,7 @@ module Gitlab
end
end
rescue Errno::EADDRNOTAVAIL, SocketError => ex
- Gitlab::EnvironmentLogger.error('Cannot resolve InfluxDB address. GitLab Performance Monitoring will not work.')
+ Gitlab::EnvironmentLogger.error('Cannot resolve InfluxDB address. GitLab Performance Monitoring will not work.') # rubocop:disable GetText/DecorateString
Gitlab::EnvironmentLogger.error(ex)
end