Use parsers package instead util for ParseRepositoryTag

This commit is contained in:
Kirill Zaitsev 2014-07-31 12:52:31 +04:00
parent 4f418b8c3d
commit 1f28664fe3

View file

@ -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
}