From 0ed80a3a587b149d635def3adb2dd833a9a1bace Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 28 Nov 2022 16:28:47 +0100 Subject: [PATCH] cli/command/formatter: NewClientContextFormat(): unconvert Signed-off-by: Sebastiaan van Stijn --- cli/command/formatter/context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/command/formatter/context.go b/cli/command/formatter/context.go index fd0e67d6f4..19780e7588 100644 --- a/cli/command/formatter/context.go +++ b/cli/command/formatter/context.go @@ -11,10 +11,10 @@ const ( // NewClientContextFormat returns a Format for rendering using a Context func NewClientContextFormat(source string, quiet bool) Format { if quiet { - return Format(quietContextFormat) + return quietContextFormat } if source == TableFormatKey { - return Format(ClientContextTableFormat) + return ClientContextTableFormat } return Format(source) }