Skip to content

Commit fd2bc1f

Browse files
committed
use our own version of text/tabwriter
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 0b78efe commit fd2bc1f

25 files changed

Lines changed: 4306 additions & 5 deletions

cli/command/container/top.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import (
44
"context"
55
"fmt"
66
"strings"
7-
"text/tabwriter"
87

98
"github.com/docker/cli/cli"
109
"github.com/docker/cli/cli/command"
10+
"github.com/docker/cli/cli/command/formatter/tabwriter"
1111
"github.com/spf13/cobra"
1212
)
1313

cli/command/context/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ package context
33
import (
44
"bytes"
55
"fmt"
6-
"text/tabwriter"
76

87
"github.com/docker/cli/cli"
98
"github.com/docker/cli/cli/command"
9+
"github.com/docker/cli/cli/command/formatter/tabwriter"
1010
"github.com/docker/cli/cli/context/docker"
1111
"github.com/docker/cli/cli/context/store"
1212
"github.com/pkg/errors"

cli/command/context/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ package context
33
import (
44
"bytes"
55
"fmt"
6-
"text/tabwriter"
76

87
"github.com/docker/cli/cli"
98
"github.com/docker/cli/cli/command"
9+
"github.com/docker/cli/cli/command/formatter/tabwriter"
1010
"github.com/docker/cli/cli/context/docker"
1111
"github.com/docker/cli/cli/context/store"
1212
"github.com/pkg/errors"

cli/command/formatter/formatter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"bytes"
55
"io"
66
"strings"
7-
"text/tabwriter"
87
"text/template"
98

9+
"github.com/docker/cli/cli/command/formatter/tabwriter"
1010
"github.com/docker/cli/templates"
1111
"github.com/pkg/errors"
1212
)

0 commit comments

Comments
 (0)