Skip to content

Commit a778f93

Browse files
committed
Fix attribute type constraint
1 parent a7c947c commit a778f93

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)