mirror of https://github.com/rancher/ui.git
Fix generic-machine create (rancher/rancher#2135)
This commit is contained in:
parent
72d205a864
commit
348b01823e
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue