mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 11:01:09 +00:00
Fix variable name
rsp rather than res was used in one place erroneously
This commit is contained in:
parent
56b6babed6
commit
cd260a769e
@ -64,7 +64,7 @@ def attach_media(noderange, media):
|
||||
global exitcode
|
||||
session = client.Command()
|
||||
resource = '/noderange/{0}/media/attach'.format(noderange)
|
||||
for rsp in session.update(resource, {'url': media}):
|
||||
for res in session.update(resource, {'url': media}):
|
||||
printerror(res)
|
||||
list_media(noderange, media)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user