Skip to content

Commit 59ebdca

Browse files
authored
Merge pull request #1302 from metacpan/mickey/cron_error
Fix attribute type constraint
2 parents a7c947c + a778f93 commit 59ebdca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/MetaCPAN/Script/Snapshot.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ has snap_name => (
8181

8282
has host => (
8383
is => 'ro',
84-
isa => Str,
84+
isa => 'URI::http',
8585
default => sub {
8686
my $self = shift;
8787
return $self->es->transport->cxn_pool->cxns->[0]->uri;

0 commit comments

Comments
 (0)