From c592932f47d2891477f277f41625fea44a909544 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 22 Aug 2025 09:41:11 +0200 Subject: [PATCH] cli/command/registry: remove deprecated formatting functions These were deprecated in 83371c2014711110aaf375c146ca0912a4a5ba85, which is part of the v28.4 release. Signed-off-by: Sebastiaan van Stijn --- cli/command/registry/formatter_search.go | 14 -------------- 1 file changed, 14 deletions(-) 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 {