diff --git a/cli/command/registry/formatter_search.go b/cli/command/registry/formatter_search.go index 3a7cb187b9..4a49f9dead 100644 --- a/cli/command/registry/formatter_search.go +++ b/cli/command/registry/formatter_search.go @@ -16,13 +16,6 @@ const ( automatedHeader = "AUTOMATED" ) -// NewSearchFormat returns a Format for rendering using a search Context -// -// Deprecated: this function was only used internally and will be removed in the next release. -func NewSearchFormat(source string) formatter.Format { - return newFormat(source) -} - // newFormat returns a Format for rendering using a searchContext. func newFormat(source string) formatter.Format { switch source { @@ -32,13 +25,6 @@ func newFormat(source string) formatter.Format { return formatter.Format(source) } -// SearchWrite writes the context -// -// Deprecated: this function was only used internally and will be removed in the next release. -func SearchWrite(fmtCtx formatter.Context, results []registrytypes.SearchResult) error { - return formatWrite(fmtCtx, results) -} - // formatWrite writes the context. func formatWrite(fmtCtx formatter.Context, results []registrytypes.SearchResult) error { render := func(format func(subContext formatter.SubContext) error) error {