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:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-28 17:20:16 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-29 13:11:38 +0300
commit8584798886a8c7d0077157c29e0dc05087656aaf (patch)
treec9f0198e872c876d2312710a772611f56afd6622 /lib/container_registry
parentbdc1e1b9e005eeaf564b79698d61a801c3c6360f (diff)
Fix rubocop offense in container registry path class
Diffstat (limited to 'lib/container_registry')
-rw-r--r--lib/container_registry/path.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/container_registry/path.rb b/lib/container_registry/path.rb
index 89ef396f374..0ca51ab3766 100644
--- a/lib/container_registry/path.rb
+++ b/lib/container_registry/path.rb
@@ -8,8 +8,7 @@ module ContainerRegistry
end
def valid?
- @nodes.size > 1 &&
- @nodes.size < Namespace::NUMBER_OF_ANCESTORS_ALLOWED
+ @nodes.size > 1 && @nodes.size < Namespace::NUMBER_OF_ANCESTORS_ALLOWED
end
def components