You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "Michael van de Waeter (JIRA)" <ji...@apache.org> on 2016/03/04 16:16:40 UTC
[jira] [Created] (LIBCLOUD-805) ex_modify_instance_attribute is
defined twice, but Python doesn't do function overloading
Michael van de Waeter created LIBCLOUD-805:
----------------------------------------------
Summary: ex_modify_instance_attribute is defined twice, but Python doesn't do function overloading
Key: LIBCLOUD-805
URL: https://issues.apache.org/jira/browse/LIBCLOUD-805
Project: Libcloud
Issue Type: Bug
Reporter: Michael van de Waeter
Priority: Minor
In libcloud/compute/drivers/ec2.py, the function ex_modify_instance_attribute
is defined twice.
Once like so:
def ex_modify_instance_attribute(self, node, attributes):
and later like so:
def ex_modify_instance_attribute(self, node, disable_api_termination=None,
ebs_optimized=None, group_id=None,
source_dest_check=None, user_data=None,
instance_type=None):
However, I can not use the first one, because it will just call the second one without attributes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)