Skip to content

Commit 68b43ae

Browse files
committed
Remove 'virtual' from the hardware ready command.
1 parent 97d3f1d commit 68b43ae

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

SoftLayer/CLI/hardware/ready.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Check if a virtual server is ready."""
1+
"""Check if a server is ready."""
22
# :license: MIT, see LICENSE for more details.
33

44
import click
@@ -11,15 +11,17 @@
1111

1212
@click.command()
1313
@click.argument('identifier')
14-
@click.option('--wait', default=0, show_default=True, type=click.INT, help="Seconds to wait")
14+
@click.option('--wait', default=0, show_default=True, type=click.INT,
15+
help="Seconds to wait")
1516
@environment.pass_env
1617
def cli(env, identifier, wait):
17-
"""Check if a virtual server is ready."""
18+
"""Check if a server is ready."""
1819

1920
compute = SoftLayer.HardwareManager(env.client)
20-
compute_id = helpers.resolve_id(compute.resolve_ids, identifier, 'hardware')
21+
compute_id = helpers.resolve_id(compute.resolve_ids, identifier,
22+
'hardware')
2123
ready = compute.wait_for_ready(compute_id, wait)
2224
if ready:
2325
env.fout("READY")
2426
else:
25-
raise exceptions.CLIAbort("Instance %s not ready" % compute_id)
27+
raise exceptions.CLIAbort("Server %s not ready" % compute_id)

0 commit comments

Comments
 (0)