use SERVER constant for setting the server address to localhost

This commit is contained in:
Moritz 2023-02-07 18:04:52 +01:00
parent 75c5908dcd
commit 5767eb0eda
1 changed files with 3 additions and 1 deletions

View File

@ -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)