forked from toolshed/abra
refactor: NewClientWithContext -> New, and use server only
This commit is contained in:
@ -31,8 +31,8 @@ var appDeployCommand = &cli.Command{
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
|
||||
host := appFiles[appName].Server
|
||||
cl, err := client.NewClientWithContext(host)
|
||||
server := appFiles[appName].Server
|
||||
cl, err := client.New(server)
|
||||
if err != nil {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user