Merge branch '2411-check-copyright'
[arvados.git] / sdk / perl / lib / Arvados.pm
index 414272b6bcfcf2c6aad89128c94639eb67896c49..9eb04b4ab23617b3884ad6f36b93fc82432e6c26 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
+
 =head1 NAME
 
 Arvados -- client library for Arvados services
@@ -135,7 +139,7 @@ sub new_request
 {
     my $self = shift;
     local $ENV{'PERL_LWP_SSL_VERIFY_HOSTNAME'};
-    if ($self{'noVerifyHostname'} || ($host =~ /\.local$/)) {
+    if ($self->{'noVerifyHostname'} || ($host =~ /\.local$/)) {
         $ENV{'PERL_LWP_SSL_VERIFY_HOSTNAME'} = 0;
     }
     Arvados::Request->new();