1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-02-04 18:21:06 +02:00

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
}