summaryrefslogtreecommitdiff
path: root/cmd/cli/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/cli/main.go')
-rw-r--r--cmd/cli/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/cli/main.go b/cmd/cli/main.go
index d3d3dbb..3c262a0 100644
--- a/cmd/cli/main.go
+++ b/cmd/cli/main.go
@@ -10,7 +10,7 @@ import (
"path/filepath"
"strings"
- eduvpn "github.com/jwijenbergh/eduvpn-common"
+ "github.com/jwijenbergh/eduvpn-common"
)
type ServerTypes int8
@@ -213,8 +213,8 @@ func printConfig(url string, serverType ServerTypes) {
if configErr != nil {
// Show the usage of tracebacks and causes
- fmt.Println("Error getting config:", state.GetErrorTraceback(configErr))
- fmt.Println("Error getting config, cause:", state.GetErrorCause(configErr))
+ fmt.Println("Error getting config:", eduvpn.GetErrorTraceback(configErr))
+ fmt.Println("Error getting config, cause:", eduvpn.GetErrorCause(configErr))
return
}