diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-11-17 03:37:17 +0300 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-11-17 04:41:14 +0300 |
commit | 7ec8af501798e6d748743dc9b3f81ce2b7bced46 (patch) | |
tree | d5a1a5149b7112d1153ca6215a17cc05b49cb88f /lib/gitlab/metrics/samplers/unicorn_sampler.rb | |
parent | 29d8179ba07be3ed111f939285eb4064d84cb7df (diff) |
Enable even more frozen string for lib/gitlab
Enables frozen string for the following:
* lib/gitlab/hook_data/**/*.rb
* lib/gitlab/i18n/**/*.rb
* lib/gitlab/import/**/*.rb
* lib/gitlab/import_export/**/*.rb
* lib/gitlab/kubernetes/**/*.rb
* lib/gitlab/legacy_github_import/**/*.rb
* lib/gitlab/manifest_import/**/*.rb
* lib/gitlab/metrics/**/*.rb
* lib/gitlab/middleware/**/*.rb
Partially addresses gitlab-org/gitlab-ce#47424.
Diffstat (limited to 'lib/gitlab/metrics/samplers/unicorn_sampler.rb')
-rw-r--r-- | lib/gitlab/metrics/samplers/unicorn_sampler.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/metrics/samplers/unicorn_sampler.rb b/lib/gitlab/metrics/samplers/unicorn_sampler.rb index ea325651fbb..4c4ec026823 100644 --- a/lib/gitlab/metrics/samplers/unicorn_sampler.rb +++ b/lib/gitlab/metrics/samplers/unicorn_sampler.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Gitlab module Metrics module Samplers |