forked from toolshed/abra
fix(deploy): Uses actual chaos version
This commit is contained in:
parent
213d4a9214
commit
02b4035409
@ -303,12 +303,8 @@ func getDeployVersion(cliArgs []string, deployMeta stack.DeployMeta, app app.App
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return "", "", err
|
return "", "", err
|
||||||
}
|
}
|
||||||
cv, err := app.Recipe.GetVersionLabelLocal()
|
log.Debugf("version: taking chaos version: %s", v)
|
||||||
if err != nil {
|
return v, v, nil
|
||||||
return "", "", err
|
|
||||||
}
|
|
||||||
log.Debugf("version: taking chaos version: %s, %s", v, cv)
|
|
||||||
return v, cv, nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if the deploy version is set with a cli argument
|
// Check if the deploy version is set with a cli argument
|
||||||
|
Loading…
x
Reference in New Issue
Block a user