Skip to content

Commit

Permalink
Merge pull request docker#3568 from ndeloof/tabwriter
Browse files Browse the repository at this point in the history
use our own version of text/tabwriter
  • Loading branch information
thaJeztah authored Apr 25, 2022
2 parents 0b78efe + fd2bc1f commit 6c9eb70
Show file tree
Hide file tree
Showing 25 changed files with 4,306 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cli/command/container/top.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"context"
"fmt"
"strings"
"text/tabwriter"

"github.com/docker/cli/cli"
"github.com/docker/cli/cli/command"
"github.com/docker/cli/cli/command/formatter/tabwriter"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cli/command/context/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package context
import (
"bytes"
"fmt"
"text/tabwriter"

"github.com/docker/cli/cli"
"github.com/docker/cli/cli/command"
"github.com/docker/cli/cli/command/formatter/tabwriter"
"github.com/docker/cli/cli/context/docker"
"github.com/docker/cli/cli/context/store"
"github.com/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion cli/command/context/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package context
import (
"bytes"
"fmt"
"text/tabwriter"

"github.com/docker/cli/cli"
"github.com/docker/cli/cli/command"
"github.com/docker/cli/cli/command/formatter/tabwriter"
"github.com/docker/cli/cli/context/docker"
"github.com/docker/cli/cli/context/store"
"github.com/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion cli/command/formatter/formatter.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"bytes"
"io"
"strings"
"text/tabwriter"
"text/template"

"github.com/docker/cli/cli/command/formatter/tabwriter"
"github.com/docker/cli/templates"
"github.com/pkg/errors"
)
Expand Down
Loading

0 comments on commit 6c9eb70

Please sign in to comment.