summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-28 11:52:04 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-28 12:03:16 +0100
commit7339e77c6eda5b96874dfc099d5c58da8ed53629 (patch)
treeb602159b0c397cbaa4f8983aea987274163fe357 /cmd
parente9f8db8ee8fccf60e58deb1d72766f94a053bb16 (diff)
Refactor: Remove most get prefixes for receiver functions
Diffstat (limited to 'cmd')
-rw-r--r--cmd/cli/main.go4
1 files changed, 2 insertions, 2 deletions
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
}