diff --git a/examples/run_stdin.js b/examples/run_stdin.js index b63a4a4..36f6573 100644 --- a/examples/run_stdin.js +++ b/examples/run_stdin.js @@ -23,7 +23,7 @@ var optsc = { 'Dns': ['8.8.8.8', '8.8.4.4'], 'Image': 'ubuntu', 'Volumes': {}, - 'VolumesFrom': '' + 'VolumesFrom': [] }; var previousKey, diff --git a/test/container.js b/test/container.js index e5cbabf..f7e38cc 100644 --- a/test/container.js +++ b/test/container.js @@ -97,7 +97,7 @@ describe("#container", function() { 'Dns': ['8.8.8.8', '8.8.4.4'], 'Image': 'ubuntu', 'Volumes': {}, - 'VolumesFrom': '' + 'VolumesFrom': [] }; @@ -190,7 +190,7 @@ describe("#container", function() { optsc.Cmd = ['bash']; docker.createContainer(optsc, handler); - }) + }); }); describe("#restart", function() {