Fix inappropriate parameters
It's easy to misunderstand for using attachment_id. Change-Id: I3bd3b96d721fe82a37b41d98d4d3d0ab59178f06
This commit is contained in:
parent
f0f78b84c7
commit
932847b644
@ -287,10 +287,10 @@ class API(base.Base):
|
||||
novaclient(context).servers.update(instance_id, name=name)
|
||||
)
|
||||
|
||||
def update_server_volume(self, context, instance_id, attachment_id,
|
||||
def update_server_volume(self, context, instance_id, volume_id,
|
||||
new_volume_id):
|
||||
novaclient(context).volumes.update_server_volume(instance_id,
|
||||
attachment_id,
|
||||
volume_id,
|
||||
new_volume_id)
|
||||
|
||||
def keypair_create(self, context, name):
|
||||
|
Loading…
Reference in New Issue
Block a user