Skip to content

Commit c6a9fb7

Browse files
author
Brian Flores
committed
added success message
1 parent 546b69a commit c6a9fb7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

SoftLayer/CLI/hardware/reflash_firmware.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,7 @@ def cli(env, identifier):
2323
'reflash device firmware. Continue?' % hw_id)):
2424
raise exceptions.CLIAbort('Aborted.')
2525

26-
mgr.reflash_firmware(hw_id)
26+
success = mgr.reflash_firmware(hw_id)
27+
if success:
28+
message = 'Successfully device firmware reflashed'
29+
click.echo(message)

0 commit comments

Comments
 (0)