mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 02:55:24 +00:00
refreshed godep since some PRs are still coming into master branch
This commit is contained in:
@@ -13,6 +13,7 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/dotcloud/docker/pkg/stdcopy"
|
||||
"github.com/dotcloud/docker/pkg/term"
|
||||
"github.com/dotcloud/docker/utils"
|
||||
)
|
||||
@@ -191,7 +192,7 @@ func (c *Client) hijack(method, path string, setRawTerminal bool, out io.Writer)
|
||||
if setRawTerminal {
|
||||
_, err = io.Copy(out, br)
|
||||
} else {
|
||||
_, err = utils.StdCopy(out, out, br)
|
||||
_, err = stdcopy.StdCopy(out, out, br)
|
||||
}
|
||||
|
||||
errStdout <- err
|
||||
|
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user