Skip to content

Commit 7b172fc

Browse files
committed
cli/command/network: remove deprecated formatting functions
These were deprecated in e3903a1, which is part of the v28.4 release. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent d223ec3 commit 7b172fc

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

cli/command/network/formatter.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ const (
1717
internalHeader = "INTERNAL"
1818
)
1919

20-
// NewFormat returns a Format for rendering using a network Context.
21-
//
22-
// Deprecated: this function was only used internally and will be removed in the next release.
23-
func NewFormat(source string, quiet bool) formatter.Format {
24-
return newFormat(source, quiet)
25-
}
26-
2720
// newFormat returns a [formatter.Format] for rendering a networkContext.
2821
func newFormat(source string, quiet bool) formatter.Format {
2922
switch source {
@@ -41,13 +34,6 @@ func newFormat(source string, quiet bool) formatter.Format {
4134
return formatter.Format(source)
4235
}
4336

44-
// FormatWrite writes the context
45-
//
46-
// Deprecated: this function was only used internally and will be removed in the next release.
47-
func FormatWrite(fmtCtx formatter.Context, networks []network.Summary) error {
48-
return formatWrite(fmtCtx, networks)
49-
}
50-
5137
// formatWrite writes the context.
5238
func formatWrite(fmtCtx formatter.Context, networks []network.Summary) error {
5339
render := func(format func(subContext formatter.SubContext) error) error {

0 commit comments

Comments
 (0)