mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
f76820a1eb
function to work with Nova. svn path=/nixpkgs/trunk/; revision=27480
13 lines
502 B
Diff
13 lines
502 B
Diff
diff -ru -x '*~' Net-Amazon-EC2-0.14-orig/lib/Net/Amazon/EC2.pm Net-Amazon-EC2-0.14/lib/Net/Amazon/EC2.pm
|
|
--- Net-Amazon-EC2-0.14-orig/lib/Net/Amazon/EC2.pm 2010-02-02 02:26:58.000000000 +0100
|
|
+++ Net-Amazon-EC2-0.14/lib/Net/Amazon/EC2.pm 2011-06-16 14:18:19.874176129 +0200
|
|
@@ -1552,6 +1552,8 @@
|
|
$args{"InstanceId." . $count} = $instance_id;
|
|
$count++;
|
|
}
|
|
+ } else {
|
|
+ $args{"InstanceId.1"} = delete $args{InstanceId};
|
|
}
|
|
|
|
my $xml = $self->_sign(Action => 'DescribeInstances', %args);
|