diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2017-04-11 12:05:30 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2017-04-11 12:05:30 +0000 |
commit | cf1beb003bc538fded81c26bb360b1ec9525937e (patch) | |
tree | b45e21cb7ea6a4c3198b44d214548273ca9e9f4e /lib | |
parent | 7df8118a8279d3ed28cad21bbb27e7336dbbc8f2 (diff) | |
parent | bb294b91d7a74e00ea9e93011fdad47d88c7cfdf (diff) | |
download | gitlab-ce-cf1beb003bc538fded81c26bb360b1ec9525937e.tar.gz |
Merge branch 'fix/gb/improve-container-registry-clipboard-links' into 'master'
Fix container repository/tag location text copied into the clipboard
Closes #30695
See merge request !10587
Diffstat (limited to 'lib')
-rw-r--r-- | lib/container_registry/tag.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/container_registry/tag.rb b/lib/container_registry/tag.rb index d00e6191e7e..728deea224f 100644 --- a/lib/container_registry/tag.rb +++ b/lib/container_registry/tag.rb @@ -29,6 +29,10 @@ module ContainerRegistry "#{repository.path}:#{name}" end + def location + "#{repository.location}:#{name}" + end + def [](key) return unless manifest |