From: Robert 'phaylon' Sedlacek Date: Wed, 3 Oct 2012 17:10:39 +0000 (+0000) Subject: fix printf -> log_debug translation bug X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7f86d23eb799a50ef7724abcd8bbfc324e41a072;p=scpubgit%2FSystem-Introspector-Report.git fix printf -> log_debug translation bug --- diff --git a/lib/System/Introspector/Report/Publish/MediaWiki.pm b/lib/System/Introspector/Report/Publish/MediaWiki.pm index 4ff049f..b44503c 100644 --- a/lib/System/Introspector/Report/Publish/MediaWiki.pm +++ b/lib/System/Introspector/Report/Publish/MediaWiki.pm @@ -41,7 +41,9 @@ sub _build_connection { sub publish { my ($self, $reports) = @_; my $pages = $self->page_options; - log_info { "Pushing reports to MediaWiki at '%s'", $self->api_uri }; + log_info { + sprintf "Pushing reports to MediaWiki at '%s'", $self->api_uri; + }; for my $page (sort keys %$pages) { $self->_publish_page($reports, $page, $pages->{$page}); }