summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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