summaryrefslogtreecommitdiff
path: root/lib/container_registry
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-06-21 13:08:10 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-06-21 13:08:10 +0200
commit70606bf0c13212eb4dabf4314b783830dd01dbfc (patch)
tree92f305e93771936174855da681fc786903858634 /lib/container_registry
parent44b8b77e02423ce97f9abe80e0335f4f4c453c83 (diff)
downloadgitlab-ce-70606bf0c13212eb4dabf4314b783830dd01dbfc.tar.gz
Show proper image ID on registry page
Diffstat (limited to 'lib/container_registry')
-rw-r--r--lib/container_registry/tag.rb1
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