From 7339e77c6eda5b96874dfc099d5c58da8ed53629 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 28 Nov 2022 11:52:04 +0100 Subject: Refactor: Remove most get prefixes for receiver functions --- cmd/cli/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd') diff --git a/cmd/cli/main.go b/cmd/cli/main.go index ec78754..f4f17e4 100644 --- a/cmd/cli/main.go +++ b/cmd/cli/main.go @@ -142,8 +142,8 @@ func printConfig(url string, serverType ServerTypes) { if configErr != nil { // Show the usage of tracebacks and causes - fmt.Println("Error getting config:", types.GetErrorTraceback(configErr)) - fmt.Println("Error getting config, cause:", types.GetErrorCause(configErr)) + fmt.Println("Error getting config:", types.ErrorTraceback(configErr)) + fmt.Println("Error getting config, cause:", types.ErrorCause(configErr)) return } -- cgit v1.2.3