peterknife / boto

Automatically exported from code.google.com/p/boto
0 stars 0 forks source link

boto/ec2/autoscale/__init__.py create_scaling_policy #507

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ap_up = ScalingPolicy( ... )
2. asc.create_scaling_policy(ap_up)
3.

What is the expected output? What do you see instead?
  File "build/bdist.macosx-10.6-universal/egg/boto/ec2/autoscale/__init__.py", line 180, in create_scaling_policy
TypeError: get_object() takes at least 4 arguments (3 given)

What version of the product are you using? On what operating system?

Please provide any additional information below.

from boto.ec2.autoscale.request import Request (The Request object is missing)
should be 
return self.get_object('PutScalingPolicy', params, Request)
than
return self.get_object('PutScalingPolicy', params)

I am not sure what's the development policy/cycle if the developer commits its 
changes at the end of the day before running unit test scripts. If it's the 
case, please disregard the issue:

Thanks.

Original issue reported on code.google.com by set...@valiha.com on 3 Apr 2011 at 9:00

GoogleCodeExporter commented 9 years ago
I think this has already been fixed in github master

Original comment by Mitch.Ga...@gmail.com on 8 Apr 2011 at 3:36