Skip to content

Commit 09936ef

Browse files
authored
Merge pull request #51 from orcinustools/0.5.0
Add multiple constraints, bump version to 0.5.0
2 parents 695e90d + 80869cf commit 09936ef

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lib/create.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,11 @@ module.exports = {
148148
if(cmd.indexOf("constraint") >= 0){
149149
arr.push("--constraint "+app.constraint);
150150
}
151+
if(cmd.indexOf("constraints") >= 0){
152+
app.constraints.forEach((v)=>{
153+
arr.push("--constraint "+v);
154+
});
155+
}
151156
if(cmd.indexOf("networks") >= 0){
152157
app.networks.forEach(function(v){
153158
arr.push("--network "+v);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "orcinus",
3-
"version": "0.4.4",
3+
"version": "0.5.0",
44
"description": "Container orchestration tools",
55
"main": "cli.js",
66
"scripts": {

0 commit comments

Comments
 (0)