From 9bc3a25a5e63ee52396d9fbfd6820c32f2cbf5f3 Mon Sep 17 00:00:00 2001 From: Alexey Chernenkov Date: Thu, 9 Apr 2015 17:12:01 +0500 Subject: [PATCH] Fix dependency: github.com/docker/docker/utils was moved to pkg/jsonmessage --- shared/build/docker/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/build/docker/client.go b/shared/build/docker/client.go index 678059b90..6dd33213e 100644 --- a/shared/build/docker/client.go +++ b/shared/build/docker/client.go @@ -15,9 +15,9 @@ import ( "strings" "time" + "github.com/docker/docker/pkg/jsonmessage" "github.com/docker/docker/pkg/stdcopy" "github.com/docker/docker/pkg/term" - "github.com/docker/docker/utils" ) const ( @@ -353,7 +353,7 @@ func (c *Client) stream(method, path string, in io.Reader, out io.Writer, header // it may not make sense to put this code here, but it works for // us at the moment, and I don't feel like refactoring - return utils.DisplayJSONMessagesStream(resp.Body, out, terminalFd, isTerminal) + return jsonmessage.DisplayJSONMessagesStream(resp.Body, out, terminalFd, isTerminal) } // otherwise plain text if _, err := io.Copy(out, resp.Body); err != nil {