Commit 85847988 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix rubocop offense in container registry path class

parent bdc1e1b9
...@@ -8,8 +8,7 @@ module ContainerRegistry ...@@ -8,8 +8,7 @@ module ContainerRegistry
end end
def valid? def valid?
@nodes.size > 1 && @nodes.size > 1 && @nodes.size < Namespace::NUMBER_OF_ANCESTORS_ALLOWED
@nodes.size < Namespace::NUMBER_OF_ANCESTORS_ALLOWED
end end
def components def components
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment