Skip to content

Commit

Permalink
Merge pull request ManageIQ#344 from billfitzgerald0120/deprecate_Clo…
Browse files Browse the repository at this point in the history
…udOrchestrationReconfiguration_email_methods

Deprecate old Cloud Orchestration Reconfiguration email methods
  • Loading branch information
mkanoor authored Jun 26, 2018
2 parents 52ac0c7 + 82e95ff commit 658906d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#
# Description: Place holder for Service Reconfigure Complete email #
#
$evm.log("warn", "[DEPRECATION] This method will be deprecated. Please use similarly named method from System/Notification/Email namespace.")
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def emailapprover(miq_request, appliance)
$evm.execute(:send_email, to, from, subject, body)
end

$evm.log("warn", "[DEPRECATION] This method will be deprecated. Please use similarly named method from System/Notification/Email namespace.")
# Get miq_request from root
miq_request = $evm.root['miq_request']
raise "miq_request missing" if miq_request.nil?
Expand Down

0 comments on commit 658906d

Please sign in to comment.