Skip to content

Commit

Permalink
volumesfrom string -> array
Browse files Browse the repository at this point in the history
  • Loading branch information
apocas committed Jun 21, 2015
1 parent 161ba7f commit 84eaa8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/run_stdin.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var optsc = {
'Dns': ['8.8.8.8', '8.8.4.4'],
'Image': 'ubuntu',
'Volumes': {},
'VolumesFrom': ''
'VolumesFrom': []
};

var previousKey,
Expand Down
4 changes: 2 additions & 2 deletions test/container.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ describe("#container", function() {
'Dns': ['8.8.8.8', '8.8.4.4'],
'Image': 'ubuntu',
'Volumes': {},
'VolumesFrom': ''
'VolumesFrom': []
};


Expand Down Expand Up @@ -190,7 +190,7 @@ describe("#container", function() {
optsc.Cmd = ['bash'];

docker.createContainer(optsc, handler);
})
});
});

describe("#restart", function() {
Expand Down

0 comments on commit 84eaa8c

Please sign in to comment.