Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
hakim committed Nov 20, 2010
1 parent 742f639 commit 3f4fb54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/Dist/Zilla/App/Command/provision.pm
Expand Up @@ -33,8 +33,8 @@ sub execute {

my @hashes = grep $_, $Provision->{Default}, $Provision->{$name}
or die "No section for <Provision> <$name>, and no <default>";
my %hash = @hashes > 1 ? %{ merge( @hashes ) } : $hashes[0];

my %hash = @hashes > 1 ? %{ merge( @hashes ) } : %{ $hashes[0] };

my $type = delete $hash{type} || 'Oyster::Provision::Rackspace';
$hash{provision_backend} = $type =~/^Oyster::Provision::/ ? $type : "Oyster::Provision::$type";
Expand Down
2 changes: 1 addition & 1 deletion lib/Oyster/Provision/AmazonEC2.pm
Expand Up @@ -26,7 +26,7 @@ sub ec2 {

unless(defined($key_pairs)) {

print("Creating $ec2_oyster_key key pair\n");
print("Creating $self->ec2_oyster_key key pair\n");
$ec2->create_key_pair({ KeyName => $self->ec2_oyster_key });

}
Expand Down

0 comments on commit 3f4fb54

Please sign in to comment.