Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7fd59b89
Commit
7fd59b89
authored
Apr 28, 2021
by
Piotr Skorupa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings for UsageMetricDefinitionGenerator
parent
6b58586e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
config/application.rb
config/application.rb
+1
-0
lib/generators/gitlab/usage_metric_definition/redis_hll_generator.rb
...ors/gitlab/usage_metric_definition/redis_hll_generator.rb
+0
-1
No files found.
config/application.rb
View file @
7fd59b89
...
...
@@ -84,6 +84,7 @@ module Gitlab
# Rake tasks ignore the eager loading settings, so we need to set the
# autoload paths explicitly
config
.
autoload_paths
=
config
.
eager_load_paths
.
dup
config
.
autoload_paths
.
push
(
"
#{
config
.
root
}
/lib/generators"
)
if
Rails
.
env
.
development?
# Only load the plugins named here, in the order given (default is alphabetical).
# :all can be used as a placeholder for all plugins not explicitly named.
...
...
lib/generators/gitlab/usage_metric_definition/redis_hll_generator.rb
View file @
7fd59b89
# frozen_string_literal: true
require
'rails/generators'
require_relative
'../usage_metric_definition_generator'
module
Gitlab
module
UsageMetricDefinition
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment