lib/yao/resources/tenant.rb in yao-0.10.0 vs lib/yao/resources/tenant.rb in yao-0.10.1

- old
+ new

@@ -7,10 +7,10 @@ self.resources_name = "tenants" self.admin = true self.return_single_on_querying = true def servers - @servers ||= Yao::Server.list(project_id: id) + @servers ||= Yao::Server.list(all_tenants: 1, project_id: id) end def meters @meters ||= Yao::Meter.list({'q.field' => 'project_id', 'q.op' => 'eq', 'q.value' => id}) end