From e88deba4b916f22abc14355b4b4640c8ccc4148a Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Fri, 13 Jun 2014 13:40:45 -0400 Subject: [PATCH] 2879: Store Docker image repo+tag together in one tag. It doesn't make sense to query the tag independently of the repository, and this change will make the common case of querying both together easier. --- sdk/python/arvados/commands/keepdocker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/python/arvados/commands/keepdocker.py b/sdk/python/arvados/commands/keepdocker.py index abf60f2a8e..236d9fc004 100644 --- a/sdk/python/arvados/commands/keepdocker.py +++ b/sdk/python/arvados/commands/keepdocker.py @@ -204,7 +204,8 @@ def main(arguments=None): make_link('docker_image_hash', image_hash, **link_base) if not image_hash.startswith(args.image.lower()): make_link('docker_image_repository', args.image, **link_base) - make_link('docker_image_tag', args.tag, **link_base) + make_link('docker_image_repo+tag', '{}:{}'.format(args.image, args.tag), + **link_base) # Clean up. image_file.close() -- 2.30.2