Skip to content

Commit 5f111ee

Browse files
author
faustas@techconsult.lt
committed
Travis-ci fixes
1 parent 870c2de commit 5f111ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

upcloud_api/cloud_manager/storage_mixin.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,19 +68,19 @@ def delete_storage(self, UUID):
6868

6969
def clone_storage(self, storage, title, zone, tier=None):
7070
"""
71-
Clones a Storage object. Returns an object based on the API's response,
71+
Clones a Storage object. Returns an object based on the API's response.
7272
"""
7373
body = {'storage': {'title': title, 'zone': zone}}
7474
if tier:
7575
body['storage']['tier'] = tier
76-
res = self.request('POST', '/storage/{}/clone'.format(str(storage)), body)
76+
res = self.request('POST', '/storage/{0}/clone'.format(str(storage)), body)
7777
return Storage(cloud_manager=self, **res['storage'])
7878

7979
def cancel_clone_storage(self, storage):
8080
"""
8181
Cancels a running cloning operation and deletes the incomplete copy.
8282
"""
83-
return self.request('POST', '/storage/{}/cancel'.format(str(storage)))
83+
return self.request('POST', '/storage/{0}/cancel'.format(str(storage)))
8484

8585
def attach_storage(self, server, storage, storage_type, address):
8686
"""

0 commit comments

Comments
 (0)