Address rubocop complaints on extracted method (transferred from ManageIQ/manageiq@9c12601031696287a5e9586cdb04c72c00c148fe)
Address rubocop complaints on extracted method
(transferred from ManageIQ/manageiq@9c12601031696287a5e9586cdb04c72c00c148fe)

ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic