diff --git a/cli/command/plugin/formatter.go b/cli/command/plugin/formatter.go index 4407745eb..8cf83018b 100644 --- a/cli/command/plugin/formatter.go +++ b/cli/command/plugin/formatter.go @@ -20,13 +20,6 @@ enabled: {{.Enabled}} ` ) -// NewFormat returns a Format for rendering using a plugin 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 Format for rendering using a pluginContext. func newFormat(source string, quiet bool) formatter.Format { switch source { @@ -44,13 +37,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, plugins []*plugin.Plugin) error { - return formatWrite(fmtCtx, plugins) -} - // formatWrite writes the context func formatWrite(fmtCtx formatter.Context, plugins []*plugin.Plugin) error { render := func(format func(subContext formatter.SubContext) error) error {