videosite-test: Fix environment proxy use
authorRalf Ertzinger <ralf@skytale.net>
Tue, 14 Feb 2012 20:41:59 +0000 (21:41 +0100)
committerRalf Ertzinger <ralf@skytale.net>
Tue, 14 Feb 2012 20:41:59 +0000 (21:41 +0100)
videosite-test.pl

index eef3b10..34b6f52 100755 (executable)
@@ -49,14 +49,14 @@ sub ploader {
 }
 
 sub connectors {
-    my $c = {-name => 'environment', -schemas => {}};
+    my $c = {name => 'environment', schemas => {}};
 
     if (exists($ENV{'http_proxy'})) {
-        $c->{-schemas}->{'http'} = $ENV{'http_proxy'}
+        $c->{schemas}->{'http'} = $ENV{'http_proxy'}
     }
 
     if (exists($ENV{'https_proxy'})) {
-        $c->{-schemas}->{'https'} = $ENV{'https_proxy'}
+        $c->{schemas}->{'https'} = $ENV{'https_proxy'}
     }
 
     return ( $c );