Skip to content

Commit

Permalink
F OpenNebula#2427: Delete auto info when deselect auto selection
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmont committed Nov 20, 2018
1 parent 3f30f99 commit 2eeda77
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sunstone/public/app/utils/nics-section.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ define(function(require) {
if ( rank && rank !== "" ){
nic["SCHED_RANK"] = rank;
}
} else {
delete nic["NETWORK_MODE"];
delete nic["SCHED_REQUIREMENTS"];
delete nic["SCHED_RANK"];
}

if ( !nic["NETWORK_MODE"] || ( nic["NETWORK_MODE"] && nic["NETWORK_MODE"] !== "auto" ) )
Expand Down

0 comments on commit 2eeda77

Please sign in to comment.