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 2012/10/02 16:41:51 UTC

git commit: EC2: passing InstanceId.1 as id in DescribeInstances

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 <oo...@redhat.com>
Authored: Tue Oct 2 16:28:16 2012 +0200
Committer: Michal fojtik <mf...@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 }},