fix 'triton create -w' that I broke recently

This commit is contained in:
Trent Mick 2015-08-26 10:13:09 -07:00
parent 20aea1de10
commit 0cfa83dedc

View File

@ -129,7 +129,7 @@ function do_create_instance(subcmd, opts, args, callback) {
waitCb(null, ctx.inst);
}, 5000);
}
: cloudapi.waitForMachineStates);
: cloudapi.waitForMachineStates.bind(cloudapi));
waiter({
id: ctx.inst.id,