Strip out quotes (#97)

* Add Retry function

* Strip out quotations from csv
This commit is contained in:
Dave Gallant
2023-04-02 03:46:28 +00:00
committed by GitHub
parent d93b835130
commit 000d5762e8
3 changed files with 47 additions and 16 deletions

View File

@@ -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())