testing
This commit is contained in:
@@ -24,7 +24,7 @@ var loginCmd = &cobra.Command{
|
||||
sending commands to server and printing the response.`,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
//grab saved credentials
|
||||
server := viper.Get("server").(string)
|
||||
server := viper.GetString("server")
|
||||
cli, err := client.New()
|
||||
cobra.CheckErr(err)
|
||||
defer cli.Close()
|
||||
|
Reference in New Issue
Block a user