diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-03-28 17:20:16 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-03-29 13:11:38 +0300 |
commit | 8584798886a8c7d0077157c29e0dc05087656aaf (patch) | |
tree | c9f0198e872c876d2312710a772611f56afd6622 /lib/container_registry/path.rb | |
parent | bdc1e1b9e005eeaf564b79698d61a801c3c6360f (diff) |
Fix rubocop offense in container registry path class
Diffstat (limited to 'lib/container_registry/path.rb')
-rw-r--r-- | lib/container_registry/path.rb | 3 |
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 |