From 7ce7516c12f58aa71cd055b7c0bef6585d3f2ab3 Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Mon, 23 Dec 2013 23:42:37 +0000 Subject: [PATCH] Move utility package 'term' to pkg/term --- commands.go | 2 +- container.go | 2 +- integration/commands_test.go | 2 +- {term => pkg/term}/MAINTAINERS | 0 {term => pkg/term}/term.go | 0 {term => pkg/term}/termios_darwin.go | 0 {term => pkg/term}/termios_linux.go | 0 utils/jsonmessage.go | 2 +- 8 files changed, 4 insertions(+), 4 deletions(-) rename {term => pkg/term}/MAINTAINERS (100%) rename {term => pkg/term}/term.go (100%) rename {term => pkg/term}/termios_darwin.go (100%) rename {term => pkg/term}/termios_linux.go (100%) diff --git a/commands.go b/commands.go index ff4b12e942..0627261d53 100644 --- a/commands.go +++ b/commands.go @@ -13,7 +13,7 @@ import ( "github.com/dotcloud/docker/auth" "github.com/dotcloud/docker/engine" "github.com/dotcloud/docker/registry" - "github.com/dotcloud/docker/term" + "github.com/dotcloud/docker/pkg/term" "github.com/dotcloud/docker/utils" "io" "io/ioutil" diff --git a/container.go b/container.go index bb591669af..532a697839 100644 --- a/container.go +++ b/container.go @@ -8,7 +8,7 @@ import ( "github.com/dotcloud/docker/archive" "github.com/dotcloud/docker/graphdriver" "github.com/dotcloud/docker/mount" - "github.com/dotcloud/docker/term" + "github.com/dotcloud/docker/pkg/term" "github.com/dotcloud/docker/utils" "github.com/kr/pty" "io" diff --git a/integration/commands_test.go b/integration/commands_test.go index af720f67e6..a4884470fb 100644 --- a/integration/commands_test.go +++ b/integration/commands_test.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/dotcloud/docker" "github.com/dotcloud/docker/engine" - "github.com/dotcloud/docker/term" + "github.com/dotcloud/docker/pkg/term" "github.com/dotcloud/docker/utils" "io" "io/ioutil" diff --git a/term/MAINTAINERS b/pkg/term/MAINTAINERS similarity index 100% rename from term/MAINTAINERS rename to pkg/term/MAINTAINERS diff --git a/term/term.go b/pkg/term/term.go similarity index 100% rename from term/term.go rename to pkg/term/term.go diff --git a/term/termios_darwin.go b/pkg/term/termios_darwin.go similarity index 100% rename from term/termios_darwin.go rename to pkg/term/termios_darwin.go diff --git a/term/termios_linux.go b/pkg/term/termios_linux.go similarity index 100% rename from term/termios_linux.go rename to pkg/term/termios_linux.go diff --git a/utils/jsonmessage.go b/utils/jsonmessage.go index cc467162f9..e06780fc1e 100644 --- a/utils/jsonmessage.go +++ b/utils/jsonmessage.go @@ -3,7 +3,7 @@ package utils import ( "encoding/json" "fmt" - "github.com/dotcloud/docker/term" + "github.com/dotcloud/docker/pkg/term" "io" "strings" "time"