Closed kbrock closed 6 months ago
part of:
Deprecating unsupported_reason_add. Returning the string instead
unsupported_reason_add
Note, these are all the same:
unsupported_reason_add(:feature, unsupported_reason(:feature2)) unless supports_feature2? unsupported_reason_add(:feature, unsupported_reason(:feature2)) unless supports?(:feature2) unsupported_reason(:feature2) unless supports?(:feature2) unsupported_reason(:feature2)
I put the redundant return because it was more consistent
Checked commit https://github.com/kbrock/manageiq-providers-vmware/commit/cf716a59e1297337eab171bd39635be423334f3d with ruby 2.7.8, rubocop 1.56.3, haml-lint 0.51.0, and yamllint 10 files checked, 1 offense detected
app/models/manageiq/providers/vmware/infra_manager/host_esx.rb
return
update:
_()
if else
part of:
Deprecating
unsupported_reason_add
. Returning the string insteadNote, these are all the same: