Skip to content

Commit c592932

Browse files
committed
cli/command/registry: remove deprecated formatting functions
These were deprecated in 83371c2, which is part of the v28.4 release. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 264080d commit c592932

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

cli/command/registry/formatter_search.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@ const (
1616
automatedHeader = "AUTOMATED"
1717
)
1818

19-
// NewSearchFormat returns a Format for rendering using a search Context
20-
//
21-
// Deprecated: this function was only used internally and will be removed in the next release.
22-
func NewSearchFormat(source string) formatter.Format {
23-
return newFormat(source)
24-
}
25-
2619
// newFormat returns a Format for rendering using a searchContext.
2720
func newFormat(source string) formatter.Format {
2821
switch source {
@@ -32,13 +25,6 @@ func newFormat(source string) formatter.Format {
3225
return formatter.Format(source)
3326
}
3427

35-
// SearchWrite writes the context
36-
//
37-
// Deprecated: this function was only used internally and will be removed in the next release.
38-
func SearchWrite(fmtCtx formatter.Context, results []registrytypes.SearchResult) error {
39-
return formatWrite(fmtCtx, results)
40-
}
41-
4228
// formatWrite writes the context.
4329
func formatWrite(fmtCtx formatter.Context, results []registrytypes.SearchResult) error {
4430
render := func(format func(subContext formatter.SubContext) error) error {

0 commit comments

Comments
 (0)