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