We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21770e1 commit fb2655cCopy full SHA for fb2655c
app/controllers/mixins/actions/vm_actions/reconfigure.rb
@@ -213,7 +213,7 @@ def reconfigure_calculations(mbsize)
213
214
# determine available switches for this host...
215
def get_vlan_options(host)
216
- return [] unless host.present?
+ return [] if host.blank?
217
218
switch_ids = Rbac.filtered(host.switches).pluck(:id)
219
Rbac.filtered(Lan.where(:switch_id => switch_ids).order(:name)).pluck(:name)
0 commit comments