Skip to content

Commit

Permalink
Modify the put_metric_data method to always use POST.
Browse files Browse the repository at this point in the history
  • Loading branch information
crschmidt authored and nakedible-p committed Apr 10, 2012
1 parent e31dedc commit b401bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boto/ec2/cloudwatch/__init__.py
Expand Up @@ -320,7 +320,7 @@ def put_metric_data(self, namespace, name, value=None, timestamp=None,
self.build_put_params(params, name, value=value, timestamp=timestamp,
unit=unit, dimensions=dimensions, statistics=statistics)

return self.get_status('PutMetricData', params)
return self.get_status('PutMetricData', params, verb="POST")


def describe_alarms(self, action_prefix=None, alarm_name_prefix=None,
Expand Down

0 comments on commit b401bd1

Please sign in to comment.