mirror of
https://github.com/davegallant/vpngate.git
synced 2025-08-06 00:33:40 +00:00
Strip out quotes (#97)
* Add Retry function * Strip out quotations from csv
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"github.com/rs/zerolog/log"
|
||||
|
||||
"github.com/davegallant/vpngate/pkg/vpn"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
@@ -20,6 +21,7 @@ var listCmd = &cobra.Command{
|
||||
Short: "List all available vpn servers",
|
||||
Args: cobra.NoArgs,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
|
||||
vpnServers, err := vpn.GetList()
|
||||
if err != nil {
|
||||
log.Fatal().Msgf(err.Error())
|
||||
|
Reference in New Issue
Block a user