Skip to content

Commit e416418

Browse files
committed
cli/command/checkpoint: remove deprecated formatting functions
These were deprecated in d861b78, which is part of the v28.4 release. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 58bb45c commit e416418

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

cli/command/checkpoint/formatter.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@ const (
1010
checkpointNameHeader = "CHECKPOINT NAME"
1111
)
1212

13-
// NewFormat returns a format for use with a checkpoint Context
14-
//
15-
// Deprecated: this function was only used internally and will be removed in the next release.
16-
func NewFormat(source string) formatter.Format {
17-
return newFormat(source)
18-
}
19-
2013
// newFormat returns a format for use with a checkpointContext.
2114
func newFormat(source string) formatter.Format {
2215
if source == formatter.TableFormatKey {
@@ -25,13 +18,6 @@ func newFormat(source string) formatter.Format {
2518
return formatter.Format(source)
2619
}
2720

28-
// FormatWrite writes formatted checkpoints using the Context
29-
//
30-
// Deprecated: this function was only used internally and will be removed in the next release.
31-
func FormatWrite(fmtCtx formatter.Context, checkpoints []checkpoint.Summary) error {
32-
return formatWrite(fmtCtx, checkpoints)
33-
}
34-
3521
// formatWrite writes formatted checkpoints using the Context
3622
func formatWrite(fmtCtx formatter.Context, checkpoints []checkpoint.Summary) error {
3723
render := func(format func(subContext formatter.SubContext) error) error {

0 commit comments

Comments
 (0)