Skip to content
Browse files

We'll switch the way the API works instead

  • Loading branch information...
1 parent 790599c commit 40e4cdbe3207d8bff398c826e2b3f22d45ab06df @simonwistow simonwistow committed Feb 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Net/Fastly/Service.pm
View
2 lib/Net/Fastly/Service.pm
@@ -112,7 +112,7 @@ Get a sorted array of all the versions that this service has had.
sub versions {
my $self = shift;
my $fetcher = $self->_fetcher;
- my @versions = map { Net::Fastly::Version->new($fetcher, %$_) } values %{$self->{versions}||{}};
+ my @versions = map { Net::Fastly::Version->new($fetcher, %$_) } @{$self->{versions}||{}};
return sort { $a->number <=> $b->number } @versions;
}

0 comments on commit 40e4cdb

Please sign in to comment.
Something went wrong with that request. Please try again.