Skip to content

Commit

Permalink
Deprecate old Cloud Orchestration Reconfiguration email methods
Browse files Browse the repository at this point in the history
Added deprecated log message to methods.
New email will use System/Notification/Email class for all instances and methods.
  • Loading branch information
billfitzgerald0120 committed Jun 26, 2018
1 parent 52ac0c7 commit 82e95ff
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 82e95ff

Please sign in to comment.