ManageIQ/manageiq-providers-amazon

View on GitHub
app/models/manageiq/providers/amazon/cloud_manager/provision/state_machine.rb

Summary

Maintainability
A
0 mins
Test Coverage
F
25%
module ManageIQ::Providers::Amazon::CloudManager::Provision::StateMachine
  def customize_destination
    message = "Setting New #{destination_type} Name"
    _log.info("#{message} #{for_destination}")
    update_and_notify_parent(:message => message)

    destination.set_custom_field("Name", dest_name)
    destination.update(:name => dest_name)

    super
  end
end