Skip to content

Commit

Permalink
Merge pull request #1302 from metacpan/mickey/cron_error
Browse files Browse the repository at this point in the history
Fix attribute type constraint
  • Loading branch information
haarg authored Oct 26, 2024
2 parents a7c947c + a778f93 commit 59ebdca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Script/Snapshot.pm
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ has snap_name => (

has host => (
is => 'ro',
isa => Str,
isa => 'URI::http',
default => sub {
my $self = shift;
return $self->es->transport->cxn_pool->cxns->[0]->uri;
Expand Down

0 comments on commit 59ebdca

Please sign in to comment.