Skip to content

Commit e723685

Browse files
#959 updated file order to be consistent with block order
1 parent fe29b88 commit e723685

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

SoftLayer/CLI/file/order.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
'space along with endurance file storage; specifies '
3636
'the size (in GB) of snapshot space to order')
3737
@click.option('--service-offering',
38-
help='The service offering package to use for placing '
39-
'the order [optional, default is \'storage_as_a_service\']',
38+
help="""The service offering package to use for placing the order.
39+
[optional, default is \'storage_as_a_service\']. enterprise and performance are depreciated""",
4040
default='storage_as_a_service',
4141
type=click.Choice([
4242
'storage_as_a_service',
@@ -70,13 +70,12 @@ def cli(env, storage_type, size, iops, tier,
7070

7171
if storage_type == 'performance':
7272
if iops is None:
73-
raise exceptions.CLIAbort(
74-
'Option --iops required with Performance')
73+
raise exceptions.CLIAbort('Option --iops required with Performance')
7574

7675
if service_offering == 'performance' and snapshot_size is not None:
7776
raise exceptions.CLIAbort(
78-
'--snapshot-size is not available for performance volumes '
79-
'ordered with the \'performance\' service offering option'
77+
'--snapshot-size is not available for performance service offerings. '
78+
'Use --service-offering storage_as_a_service'
8079
)
8180

8281
try:

0 commit comments

Comments
 (0)