lib/idlc-sdk-deploy/power.rb in idlc-sdk-deploy-1.0.0.rc12 vs lib/idlc-sdk-deploy/power.rb in idlc-sdk-deploy-1.0.0.rc13
- old
+ new
@@ -6,11 +6,11 @@
class << self
include Idlc::Helpers
def start_instance(instance, async=false)
- msg('Starting Instance...')
+ msg("Starting Instance (#{instance.id})...")
instance.start(
dry_run: false
)
unless async
obj = instance.wait_until_running
@@ -19,10 +19,10 @@
end
def stop_instance(instance, async=false)
raise InstanceKeepAlive if keep_alive?(instance.tags)
- msg('Stopping Instance...')
+ msg("Stopping Instance (#{instance.id})...")
instance.stop(
dry_run: false
)
unless async
obj = instance.wait_until_stopped