deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: EC2: passing InstanceId.1 as id in DescribeInstances
Date Tue, 02 Oct 2012 14:41:51 GMT
Updated Branches:
  refs/heads/master 8086f4149 -> 2b6628e16


EC2: passing InstanceId.1 as id in DescribeInstances


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/2b6628e1
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/2b6628e1
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/2b6628e1

Branch: refs/heads/master
Commit: 2b6628e1640bac639a62ba80938e764077f6b978
Parents: 8086f41
Author: Oved Ourfali <oourfali@redhat.com>
Authored: Tue Oct 2 16:28:16 2012 +0200
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Tue Oct 2 16:42:26 2012 +0200

----------------------------------------------------------------------
 server/lib/ec2/query_parser.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/2b6628e1/server/lib/ec2/query_parser.rb
----------------------------------------------------------------------
diff --git a/server/lib/ec2/query_parser.rb b/server/lib/ec2/query_parser.rb
index fc2d5be..d0585e3 100644
--- a/server/lib/ec2/query_parser.rb
+++ b/server/lib/ec2/query_parser.rb
@@ -20,7 +20,7 @@ module Deltacloud::EC2
     MAPPINGS = {
       :describe_availability_zones => { :method => :realms, :params => { 'ZoneName.1'
=> :id } },
       :describe_images => { :method => :images, :params => { 'ImageId.1' => :id
}},
-      :describe_instances => { :method => :instances, :params => {} },
+      :describe_instances => { :method => :instances, :params => {'InstanceId.1'
=> :id } },
       :describe_key_pairs => { :method => :keys, :params => {} },
       :create_key_pair => { :method => :create_key, :params => { 'KeyName' =>
:key_name }},
       :delete_key_pair => { :method => :destroy_key, :params => { 'KeyName' =>
:id }},


Mime
View raw message