deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: CIMI: Fixed wrong indenting that cause DC fail to start on 1.8.7
Date Wed, 06 Feb 2013 10:25:23 GMT
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 <mfojtik@redhat.com>
Authored: Wed Feb 6 11:24:53 2013 +0100
Committer: Michal fojtik <mfojtik@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 }


Mime
View raw message