lib/cfoundry/v2/app.rb in cfoundry-4.6.0 vs lib/cfoundry/v2/app.rb in cfoundry-4.6.1
- old
+ new
@@ -50,10 +50,10 @@
def delete!(opts = {})
super(opts.merge(:recursive => true))
end
def instances
- AppInstance.for_app(@client, @guid, name)
+ AppInstance.for_app(name, @guid, @client)
end
def crashes
@client.base.crashes(@guid).collect do |m|
AppInstance.new(self.name, self.guid, m[:instance], @client, m)