Skip to content

Commit

Permalink
Merge pull request #30186 from rallytime/fix-29951
Browse files Browse the repository at this point in the history
Update CLI Examples in boto_ec2 module to reflect correct arg/kwarg positioning
  • Loading branch information
basepi committed Jan 8, 2016
2 parents 1256fd1 + a943b50 commit 54b9641
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions salt/modules/boto_ec2.py
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 54b9641

Please sign in to comment.