Updated Vendoring

This commit is contained in:
Suraj Narwade
2017-04-27 21:38:38 +05:30
parent 605d643a84
commit 1eb162d697
77 changed files with 2293 additions and 1354 deletions
+7 -2
View File
@@ -180,8 +180,13 @@ func resolveContextV2(inFile string, serviceData RawService) RawService {
} else {
current = path.Join(current, context)
}
build["context"] = current
if _, ok := serviceData["build"].(string); ok {
//build is specified as a string containing a path to the build context
serviceData["build"] = current
} else {
//build is specified as an object with the path specified under context
build["context"] = current
}
return serviceData
}