libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [libcloud] Kami commented on a change in pull request #1311: Fix error in resize function in OpenStack driver #1309
Date Fri, 12 Jul 2019 15:37:45 GMT
Kami commented on a change in pull request #1311: Fix error in resize function in OpenStack
driver #1309
URL: https://github.com/apache/libcloud/pull/1311#discussion_r303038386
 
 

 ##########
 File path: libcloud/compute/drivers/openstack.py
 ##########
 @@ -1588,7 +1588,7 @@ def ex_resize(self, node, size):
 
         :rtype: ``bool``
         """
-        server_params = self._create_args_to_params(node, size=size)
+        server_params = {'flavorRef': size.id}
 
 Review comment:
   P.S. Next time it would help if you can link to the corresponding API documentation (e.g.
https://developer.openstack.org/api-ref/compute/?expanded=resize-server-resize-action-detail
in this case).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message