Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix issue that only allowed 1 machine to be created

  • Loading branch information...
commit fa33b14798285c7d233f02bc46810776ff9afbed 1 parent 6493573
@jfd authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/stage-setup-smartdc
View
2  bin/stage-setup-smartdc
@@ -298,7 +298,7 @@ function createAndSetupMachines (count, C) {
function onsetupdone (err) {
if (err) return C(err);
result.machines.push(info);
- if (count) next(count - 1);
+ if (count) return next(count - 1);
return C(null, result);
}
Please sign in to comment.
Something went wrong with that request. Please try again.