Verified Commit e5f056b8 authored by Luc Didry's avatar Luc Didry

🐛 — Fix Net::OpenStack::Swift optional dependency

parent 478ad294
Pipeline #293242 passed with stage
in 1 minute and 8 seconds
......@@ -7,7 +7,7 @@ use Mojo::Util qw(decode);
use Data::Entropy qw(entropy_source);
use ISO::639_1;
our $VERSION = '0.11';
our $VERSION = '0.12';
sub register {
my ($self, $app) = @_;
......@@ -19,7 +19,7 @@ sub register {
$app->helper(iso639_native_name => \&_iso639_native_name);
if ($app->config('swift')) {
use Net::OpenStack::Swift;
require Net::OpenStack::Swift;
$app->helper(swift => \&_swift);
$app->helper(check_swift_container => \&_check_swift_container);
$app->helper(find_swift_container => \&_find_swift_container);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment