From 14aebb377b182ac70348ccf54ac1672646ed3e54 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 21 Jan 2014 10:33:57 +0100 Subject: [PATCH] initialize PVE::RPCEnvironment in test.pl --- test.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test.pl b/test.pl index eaf3c88..98c3da5 100755 --- a/test.pl +++ b/test.pl @@ -4,11 +4,14 @@ use lib '.'; use strict; use warnings; use JSON; +use PVE::RPCEnvironment; use Data::Dumper; use PVE::RADOS; +my $rpcenv = PVE::RPCEnvironment->init('cli'); + my $rados = PVE::RADOS::new(); my $res = $rados->mon_command({ prefix => 'get_command_descriptions'}); -- 2.39.2