From 1f28664fe39279daaa04d19671de25faf395a5a7 Mon Sep 17 00:00:00 2001 From: Kirill Zaitsev Date: Thu, 31 Jul 2014 12:52:31 +0400 Subject: [PATCH] Use parsers package instead util for ParseRepositoryTag --- shared/build/docker/image.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/build/docker/image.go b/shared/build/docker/image.go index 832686571..cdc147b68 100644 --- a/shared/build/docker/image.go +++ b/shared/build/docker/image.go @@ -10,7 +10,7 @@ import ( "time" "github.com/dotcloud/docker/archive" - "github.com/dotcloud/docker/utils" + "github.com/dotcloud/docker/pkg/parsers" ) type Images struct { @@ -63,7 +63,7 @@ func (c *ImageService) Create(image string) error { } func (c *ImageService) Pull(image string) error { - name, tag := utils.ParseRepositoryTag(image) + name, tag := parsers.ParseRepositoryTag(image) if len(tag) == 0 { tag = DEFAULTTAG }