Skip to content

Commit d223ec3

Browse files
committed
cli/command/image: remove deprecated formatting functions
These were deprecated in 15cf4fa, which is part of the v28.4 release. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 206a8da commit d223ec3

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

cli/command/image/formatter_history.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@ const (
1919
commentHeader = "COMMENT"
2020
)
2121

22-
// NewHistoryFormat returns a format for rendering an HistoryContext
23-
//
24-
// Deprecated: this function was only used internally and will be removed in the next release.
25-
func NewHistoryFormat(source string, quiet bool, human bool) formatter.Format {
26-
return newHistoryFormat(source, quiet, human)
27-
}
28-
2922
// newHistoryFormat returns a format for rendering a historyContext.
3023
func newHistoryFormat(source string, quiet bool, human bool) formatter.Format {
3124
if source == formatter.TableFormatKey {
@@ -42,13 +35,6 @@ func newHistoryFormat(source string, quiet bool, human bool) formatter.Format {
4235
return formatter.Format(source)
4336
}
4437

45-
// HistoryWrite writes the context
46-
//
47-
// Deprecated: this function was only used internally and will be removed in the next release.
48-
func HistoryWrite(fmtCtx formatter.Context, human bool, histories []image.HistoryResponseItem) error {
49-
return historyWrite(fmtCtx, human, histories)
50-
}
51-
5238
// historyWrite writes the context
5339
func historyWrite(fmtCtx formatter.Context, human bool, histories []image.HistoryResponseItem) error {
5440
render := func(format func(subContext formatter.SubContext) error) error {

0 commit comments

Comments
 (0)