forked from toolshed/abra
fix: don't read TIMEOUT for version= label
Closes coop-cloud/organising#451
This commit is contained in:
@ -419,7 +419,7 @@ func GetVersionLabelLocal(recipe Recipe) (string, error) {
|
||||
|
||||
for _, service := range recipe.Config.Services {
|
||||
for label, value := range service.Deploy.Labels {
|
||||
if strings.HasPrefix(label, "coop-cloud") {
|
||||
if strings.HasPrefix(label, "coop-cloud") && strings.Contains(label, "version") {
|
||||
return value, nil
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user