Skip to content

Commit

Permalink
Remove newlines from error message
Browse files Browse the repository at this point in the history
Newlines can cause trouble with translations as well as presentation in
the UI. This particular string doesn't actually need the newlines, so
this commit changes it to just not have them.

Alternative to ManageIQ/manageiq#23213
  • Loading branch information
Fryguy committed Sep 30, 2024
1 parent 7174d91 commit 4359e0c
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 4359e0c

Please sign in to comment.