Fix generic-machine create (rancher/rancher#2135)

This commit is contained in:
Vincent Fiduccia 2015-10-01 10:55:31 -07:00
parent 72d205a864
commit 348b01823e
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ export default Ember.Controller.extend(NewHost, {
// Null out all the drivers that aren't the active one, because the API only accepts one.
var activeDriver = this.get('driver');
var machine = this.get('model.machine');
this.get('driverChoices').forEach((choice) => {
this.get('model.otherChoices').forEach((choice) => {
var cur = choice.value;
if ( choice.value !== activeDriver )
{