use SERVER constant for setting the server address to localhost
This commit is contained in:
@ -25,6 +25,8 @@ import (
|
|||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const SERVER = "localhost"
|
||||||
|
|
||||||
var majorUpdate bool
|
var majorUpdate bool
|
||||||
var majorFlag = &cli.BoolFlag{
|
var majorFlag = &cli.BoolFlag{
|
||||||
Name: "major, m",
|
Name: "major, m",
|
||||||
@ -330,8 +332,8 @@ func upgrade(cl *dockerclient.Client, stackName string, recipeName string, upgra
|
|||||||
app := config.App{
|
app := config.App{
|
||||||
Name: stackName,
|
Name: stackName,
|
||||||
Recipe: recipeName,
|
Recipe: recipeName,
|
||||||
Server: "localhost",
|
|
||||||
Env: getEnv(cl, stackName),
|
Env: getEnv(cl, stackName),
|
||||||
|
Server: SERVER,
|
||||||
}
|
}
|
||||||
|
|
||||||
processRecipeRepoVersion(recipeName, upgradeVersion)
|
processRecipeRepoVersion(recipeName, upgradeVersion)
|
||||||
|
Reference in New Issue
Block a user