瀏覽代碼

Fixing ZF-9760: EBS deleteVolume API always fails due to typo in method call

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22047 44c647ce-9c0f-0410-b52a-842ac1e357ba
shahar 15 年之前
父節點
當前提交
f498931fdd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      library/Zend/Service/Amazon/Ec2/Ebs.php

+ 1 - 1
library/Zend/Service/Amazon/Ec2/Ebs.php

@@ -242,7 +242,7 @@ class Zend_Service_Amazon_Ec2_Ebs extends Zend_Service_Amazon_Ec2_Abstract
     {
     {
         $params = array();
         $params = array();
         $params['Action']       = 'DeleteVolume';
         $params['Action']       = 'DeleteVolume';
-        $params['volumeId']     = $volumeId;
+        $params['VolumeId']     = $volumeId;
 
 
         $response = $this->sendRequest($params);
         $response = $this->sendRequest($params);
         $xpath = $response->getXPath();
         $xpath = $response->getXPath();