diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-21 13:08:10 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-21 13:08:10 +0200 |
commit | 70606bf0c13212eb4dabf4314b783830dd01dbfc (patch) | |
tree | 92f305e93771936174855da681fc786903858634 /lib/container_registry | |
parent | 44b8b77e02423ce97f9abe80e0335f4f4c453c83 (diff) | |
download | gitlab-ce-70606bf0c13212eb4dabf4314b783830dd01dbfc.tar.gz |
Show proper image ID on registry page
Diffstat (limited to 'lib/container_registry')
-rw-r--r-- | lib/container_registry/tag.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/container_registry/tag.rb b/lib/container_registry/tag.rb index 7a0929d774e..708d01b95a1 100644 --- a/lib/container_registry/tag.rb +++ b/lib/container_registry/tag.rb @@ -3,6 +3,7 @@ module ContainerRegistry attr_reader :repository, :name delegate :registry, :client, to: :repository + delegate :revision, :short_revision, to: :config_blob, allow_nil: true def initialize(repository, name) @repository, @name = repository, name |