Skip to content

Commit 3a6b7b3

Browse files
committed
Change defaults to None
1 parent 2385bf2 commit 3a6b7b3

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

SoftLayer/CLI/image/export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@click.argument('identifier')
1414
@click.argument('uri')
1515
@click.option('--ibm-api-key',
16-
default="",
16+
default=None,
1717
help="The IBM Cloud API Key with access to IBM Cloud Object "
1818
"Storage instance. For help creating this key see "
1919
"https://console.bluemix.net/docs/services/cloud-object-"

SoftLayer/CLI/image/import.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,25 @@
1616
default="",
1717
help="The note to be applied to the imported template")
1818
@click.option('--os-code',
19-
default="",
2019
help="The referenceCode of the operating system software"
2120
" description for the imported VHD, ISO, or RAW image")
2221
@click.option('--ibm-api-key',
23-
default="",
22+
default=None,
2423
help="The IBM Cloud API Key with access to IBM Cloud Object "
2524
"Storage instance and IBM KeyProtect instance. For help "
2625
"creating this key see https://console.bluemix.net/docs/"
2726
"services/cloud-object-storage/iam/users-serviceids.html"
2827
"#serviceidapikeys")
2928
@click.option('--root-key-id',
30-
default="",
29+
default=None,
3130
help="ID of the root key in Key Protect")
3231
@click.option('--wrapped-dek',
33-
default="",
32+
default=None,
3433
help="Wrapped Data Encryption Key provided by IBM KeyProtect. "
3534
"For more info see https://console.bluemix.net/docs/"
3635
"services/key-protect/wrap-keys.html#wrap-keys")
3736
@click.option('--kp-id',
38-
default="",
37+
default=None,
3938
help="ID of the IBM Key Protect Instance")
4039
@click.option('--cloud-init',
4140
is_flag=True,

0 commit comments

Comments
 (0)