fixed bug ports and listservers
This commit is contained in:
@@ -38,7 +38,6 @@ var CliAction = func(ctx *cli.Context) error {
|
||||
if CreateVM != "" {
|
||||
|
||||
var PortsInt int
|
||||
PortsInt = 0
|
||||
|
||||
if Ports != "" {
|
||||
// Convert Get Request value to int
|
||||
|
||||
@@ -53,7 +53,7 @@ var AppConfigFlags = []cli.Flag{
|
||||
Name: "Ports",
|
||||
Usage: "Number of ports to open for the Docker Container",
|
||||
EnvVars: []string{"NUM_PORTS"},
|
||||
Destination: &ID,
|
||||
Destination: &Ports,
|
||||
},
|
||||
&cli.BoolFlag{
|
||||
Name: "GPU",
|
||||
|
||||
Reference in New Issue
Block a user