diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-09 22:27:06 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-09 22:27:06 +0300 |
commit | d7b91fb596e50411c0adb5aa8fb17341087f3f57 (patch) | |
tree | 8e85f359002e17af275ba8cf5ad21dc3ab12a4b6 /lib/container_registry/blob.rb | |
parent | 08396be619eee2e71c2f5f7aa27eea6f5ddf10ff (diff) |
Simplify Container Registry view implementation
Diffstat (limited to 'lib/container_registry/blob.rb')
-rw-r--r-- | lib/container_registry/blob.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/container_registry/blob.rb b/lib/container_registry/blob.rb index e0d9923f217..16e3f853418 100644 --- a/lib/container_registry/blob.rb +++ b/lib/container_registry/blob.rb @@ -11,6 +11,10 @@ module ContainerRegistry digest.present? end + def path + "#{repository.path}@#{digest}" + end + def digest config['digest'] end |