diff --git a/cli/command/service/formatter.go b/cli/command/service/formatter.go index 5cf62efb1e..c87f2624e3 100644 --- a/cli/command/service/formatter.go +++ b/cli/command/service/formatter.go @@ -195,13 +195,6 @@ Ports: {{- end }} ` -// NewFormat returns a Format for rendering using a Context -// -// Deprecated: this function was only used internally and will be removed in the next release. -func NewFormat(source string) formatter.Format { - return newFormat(source) -} - // newFormat returns a Format for rendering using a Context. func newFormat(source string) formatter.Format { switch source { @@ -224,13 +217,6 @@ func resolveNetworks(service swarm.Service, getNetwork inspect.GetRefFunc) map[s return networkNames } -// InspectFormatWrite renders the context for a list of services -// -// Deprecated: this function was only used internally and will be removed in the next release. -func InspectFormatWrite(fmtCtx formatter.Context, refs []string, getRef, getNetwork inspect.GetRefFunc) error { - return inspectFormatWrite(fmtCtx, refs, getRef, getNetwork) -} - // inspectFormatWrite renders the context for a list of services func inspectFormatWrite(fmtCtx formatter.Context, refs []string, getRef, getNetwork inspect.GetRefFunc) error { if fmtCtx.Format != serviceInspectPrettyTemplate {