Skip to content

Commit 04f7a03

Browse files
committedDec 12, 2016
Move templates to pkg/templates
Signed-off-by: Vincent Demeester <[email protected]>
1 parent ce37550 commit 04f7a03

File tree

11 files changed

+9
-9
lines changed

11 files changed

+9
-9
lines changed
 

‎cli/command/container/list.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/docker/docker/cli/command"
1111
"github.com/docker/docker/cli/command/formatter"
1212
"github.com/docker/docker/opts"
13-
"github.com/docker/docker/utils/templates"
13+
"github.com/docker/docker/pkg/templates"
1414
"github.com/spf13/cobra"
1515
)
1616

‎cli/command/formatter/formatter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"text/tabwriter"
99
"text/template"
1010

11-
"github.com/docker/docker/utils/templates"
11+
"github.com/docker/docker/pkg/templates"
1212
)
1313

1414
// Format keys used to specify certain kinds of output formats

‎cli/command/inspect/inspector.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
"github.com/Sirupsen/logrus"
1111
"github.com/docker/docker/cli"
12-
"github.com/docker/docker/utils/templates"
12+
"github.com/docker/docker/pkg/templates"
1313
)
1414

1515
// Inspector defines an interface to implement to process elements

‎cli/command/inspect/inspector_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"strings"
66
"testing"
77

8-
"github.com/docker/docker/utils/templates"
8+
"github.com/docker/docker/pkg/templates"
99
)
1010

1111
type testElement struct {

‎cli/command/system/events.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
"github.com/docker/docker/cli/command"
1818
"github.com/docker/docker/opts"
1919
"github.com/docker/docker/pkg/jsonlog"
20-
"github.com/docker/docker/utils/templates"
20+
"github.com/docker/docker/pkg/templates"
2121
"github.com/spf13/cobra"
2222
)
2323

‎cli/command/system/info.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"github.com/docker/docker/cli/command"
1515
"github.com/docker/docker/cli/debug"
1616
"github.com/docker/docker/pkg/ioutils"
17-
"github.com/docker/docker/utils/templates"
17+
"github.com/docker/docker/pkg/templates"
1818
"github.com/docker/go-units"
1919
"github.com/spf13/cobra"
2020
)

‎cli/command/system/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/docker/docker/cli"
1212
"github.com/docker/docker/cli/command"
1313
"github.com/docker/docker/dockerversion"
14-
"github.com/docker/docker/utils/templates"
14+
"github.com/docker/docker/pkg/templates"
1515
"github.com/spf13/cobra"
1616
)
1717

‎daemon/logger/loggerutils/log_tag.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"bytes"
55

66
"github.com/docker/docker/daemon/logger"
7-
"github.com/docker/docker/utils/templates"
7+
"github.com/docker/docker/pkg/templates"
88
)
99

1010
// DefaultTemplate defines the defaults template logger should use.
File renamed without changes.
File renamed without changes.

‎profiles/apparmor/apparmor.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"strings"
1212

1313
"github.com/docker/docker/pkg/aaparser"
14-
"github.com/docker/docker/utils/templates"
14+
"github.com/docker/docker/pkg/templates"
1515
)
1616

1717
var (

0 commit comments

Comments
 (0)