Skip to content

Commit 3faaa7d

Browse files
Merge pull request #1066 from mikewurtz/master
Fix doc formatting and some comments
2 parents ea8a3c3 + ccd5710 commit 3faaa7d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

SoftLayer/CLI/image/export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def cli(env, identifier, uri, ibm_api_key):
2424
2525
The URI for an object storage object (.vhd/.iso file) of the format:
2626
swift://<objectStorageAccount>@<cluster>/<container>/<objectPath>
27-
or cos://<clusterName>/<bucketName>/<objectPath> if using IBM Cloud
27+
or cos://<regionName>/<bucketName>/<objectPath> if using IBM Cloud
2828
Object Storage
2929
"""
3030

SoftLayer/CLI/image/import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def cli(env, name, note, os_code, uri, ibm_api_key, root_key_id, wrapped_dek,
5252
5353
The URI for an object storage object (.vhd/.iso file) of the format:
5454
swift://<objectStorageAccount>@<cluster>/<container>/<objectPath>
55-
or cos://<clusterName>/<bucketName>/<objectPath> if using IBM Cloud
55+
or cos://<regionName>/<bucketName>/<objectPath> if using IBM Cloud
5656
Object Storage
5757
"""
5858

SoftLayer/managers/image.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,15 @@ def import_image_from_uri(self, name, uri, os_code=None, note=None,
131131
(.vhd/.iso file) of the format:
132132
swift://<objectStorageAccount>@<cluster>/<container>/<objectPath>
133133
or (.vhd/.iso/.raw file) of the format:
134-
cos://<clusterName>/<bucketName>/<objectPath> if using IBM Cloud
134+
cos://<regionName>/<bucketName>/<objectPath> if using IBM Cloud
135135
Object Storage
136136
:param string os_code: The reference code of the operating system
137137
:param string note: Note to add to the image
138138
:param string ibm_api_key: Ibm Api Key needed to communicate with ICOS
139-
and Key Protect
139+
and Key Protect
140140
:param string root_key_id: ID of the root key in Key Protect
141141
:param string wrapped_dek: Wrapped Data Encryption Key provided by
142-
IBM KeyProtect
142+
IBM KeyProtect
143143
:param string kp_id: ID of the IBM Key Protect Instance
144144
:param boolean cloud_init: Specifies if image is cloud-init
145145
:param boolean byol: Specifies if image is bring your own license
@@ -173,10 +173,10 @@ def export_image_to_uri(self, image_id, uri, ibm_api_key=None):
173173
:param int image_id: The ID of the image
174174
:param string uri: The URI for object storage of the format
175175
swift://<objectStorageAccount>@<cluster>/<container>/<objectPath>
176-
or cos://<clusterName>/<bucketName>/<objectPath> if using IBM Cloud
176+
or cos://<regionName>/<bucketName>/<objectPath> if using IBM Cloud
177177
Object Storage
178178
:param string ibm_api_key: Ibm Api Key needed to communicate with IBM
179-
Cloud Object Storage
179+
Cloud Object Storage
180180
"""
181181
if 'cos://' in uri:
182182
return self.vgbdtg.copyToIcos({

0 commit comments

Comments
 (0)