Merge pull request #30186 from rallytime/fix-29951

Update CLI Examples in boto_ec2 module to reflect correct arg/kwarg positioning
This commit is contained in:
Colton Myers 2016-01-08 12:00:45 -07:00
commit 54b9641330

View file

@ -408,7 +408,7 @@ def get_attribute(attribute, instance_name=None, instance_id=None, region=None,
.. code-block:: bash
salt myminion boto_ec2.get_attribute name=my_instance attribute=sourceDestCheck
salt myminion boto_ec2.get_attribute sourceDestCheck instance_name=my_instance
Available attributes:
* instanceType
@ -461,8 +461,7 @@ def set_attribute(attribute, attribute_value, instance_name=None, instance_id=No
.. code-block:: bash
salt myminion boto_ec2.set_attribute instance_name=my_instance \
attribute=sourceDestCheck attribute_value=False
salt myminion boto_ec2.set_attribute sourceDestCheck False instance_name=my_instance
Available attributes:
* instanceType