Permalink
Browse files

Tidied

  • Loading branch information...
1 parent 9541ad3 commit 8038d3158fe62202f3d161698ecd6a536a4bf4d0 @clintongormley committed Sep 22, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/Elastic/Model/Result.pm
View
3 lib/Elastic/Model/Result.pm
@@ -130,8 +130,7 @@ sub explain {
my $explain = $result->{_explanation}
|| return "No explanation\n";
- my $text = sprintf
- "Doc: [%s|%s|%s], Shard: [%s|%d]:\n",
+ my $text = sprintf "Doc: [%s|%s|%s], Shard: [%s|%d]:\n",
map { defined $_ ? $_ : 'undef' }
@{$result}{qw(_index _type _id _node _shard)};

0 comments on commit 8038d31

Please sign in to comment.