diff --git a/cli/command/network/formatter.go b/cli/command/network/formatter.go index 59f97060cf..f456820009 100644 --- a/cli/command/network/formatter.go +++ b/cli/command/network/formatter.go @@ -17,13 +17,6 @@ const ( internalHeader = "INTERNAL" ) -// NewFormat returns a Format for rendering using a network Context. -// -// Deprecated: this function was only used internally and will be removed in the next release. -func NewFormat(source string, quiet bool) formatter.Format { - return newFormat(source, quiet) -} - // newFormat returns a [formatter.Format] for rendering a networkContext. func newFormat(source string, quiet bool) formatter.Format { switch source { @@ -41,13 +34,6 @@ func newFormat(source string, quiet bool) formatter.Format { return formatter.Format(source) } -// FormatWrite writes the context -// -// Deprecated: this function was only used internally and will be removed in the next release. -func FormatWrite(fmtCtx formatter.Context, networks []network.Summary) error { - return formatWrite(fmtCtx, networks) -} - // formatWrite writes the context. func formatWrite(fmtCtx formatter.Context, networks []network.Summary) error { render := func(format func(subContext formatter.SubContext) error) error {