You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2013/02/06 11:25:23 UTC
git commit: CIMI: Fixed wrong indenting that cause DC fail to start
on 1.8.7
Updated Branches:
refs/heads/master dea916da7 -> 717ce9e60
CIMI: Fixed wrong indenting that cause DC fail to start on 1.8.7
Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/717ce9e6
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/717ce9e6
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/717ce9e6
Branch: refs/heads/master
Commit: 717ce9e602eeebd19715866c66f37587df2a6b55
Parents: dea916d
Author: Michal Fojtik <mf...@redhat.com>
Authored: Wed Feb 6 11:24:53 2013 +0100
Committer: Michal fojtik <mf...@redhat.com>
Committed: Wed Feb 6 11:24:53 2013 +0100
----------------------------------------------------------------------
server/lib/cimi/collections/machines.rb | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/717ce9e6/server/lib/cimi/collections/machines.rb
----------------------------------------------------------------------
diff --git a/server/lib/cimi/collections/machines.rb b/server/lib/cimi/collections/machines.rb
index f28cdd1..5718f46 100644
--- a/server/lib/cimi/collections/machines.rb
+++ b/server/lib/cimi/collections/machines.rb
@@ -24,9 +24,7 @@ module CIMI::Collections
operation :index, :with_capability => :instances do
description "List all machines"
control do
- machines = Machine.list(self)
- .select_by(params['$select'])
- .filter_by(params['$filter'])
+ machines = Machine.list(self).select_by(params['$select']).filter_by(params['$filter'])
respond_to do |format|
format.xml { machines.to_xml }
format.json { machines.to_json }