summaryrefslogtreecommitdiff
path: root/cmd/cli/main.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-28 14:09:28 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-28 14:12:48 +0100
commit59e6ccd051452162fab852a25deb4f0f8a9e22b2 (patch)
treef4d8168b5b696f0eae26dbfc0e6cae514cbe65e7 /cmd/cli/main.go
parent279c0de75629de5868c3ac1b3272a2850e6b62f7 (diff)
Refactor: Fix revive linter errors by deleting redundant prefixes
Diffstat (limited to 'cmd/cli/main.go')
-rw-r--r--cmd/cli/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cli/main.go b/cmd/cli/main.go
index 0e759eb..878bac9 100644
--- a/cmd/cli/main.go
+++ b/cmd/cli/main.go
@@ -37,7 +37,7 @@ func openBrowser(url interface{}) {
// Ask for a profile in the command line.
func sendProfile(state *client.Client, data interface{}) {
fmt.Printf("Multiple VPN profiles found. Please select a profile by entering e.g. 1")
- serverProfiles, ok := data.(*server.ServerProfileInfo)
+ serverProfiles, ok := data.(*server.ProfileInfo)
if !ok {
fmt.Println("Invalid data type")