Skip to content

Commit

Permalink
Merge pull request #677 from Fryguy/better_error_message
Browse files Browse the repository at this point in the history
Remove newlines from error message
  • Loading branch information
agrare committed Sep 30, 2024
2 parents 7174d91 + 4359e0c commit 6ff093a
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,12 @@ def perform_metadata_sync(ost)
sync_stashed_metadata(ost)
end

RHEVM_NO_PROXIES_ERROR_MSG = N_('VMs must be scanned from an EVM server whose host is attached to the same
storage as the VM unless overridden via SmartProxy affinity.
Please verify that:
1) Direct LUNs are attached to ManageIQ appliance
2) Management Relationship is set for the ManageIQ appliance')
RHEVM_NO_PROXIES_ERROR_MSG = N_(
"VMs must be scanned from an appliances whose host is attached to the same " \
"storage as the VM unless overridden via SmartProxy affinity. Please verify " \
"that direct LUNs are attached to the appliance and that the management " \
"relationship is set for the appliance."
)

def proxies4job(_job = nil)
_log.debug "Enter (RHEVM)"
Expand Down

0 comments on commit 6ff093a

Please sign in to comment.