From 3c9c5841414b1ba722c298560e4f1f0f67c5670a Mon Sep 17 00:00:00 2001 From: bp-sawyers Date: Wed, 8 Dec 2010 11:43:56 +0000 Subject: [PATCH] fixed ddns.pm plugin loading problems git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8357 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/ddns.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/ddns.pm b/xCAT-server/lib/xcat/plugins/ddns.pm index 7f000d0f6..6c1c9f866 100644 --- a/xCAT-server/lib/xcat/plugins/ddns.pm +++ b/xCAT-server/lib/xcat/plugins/ddns.pm @@ -305,7 +305,7 @@ sub get_zonesdir { } if ($sitetab) { - ($ref) = $sitetab->getAttribs({key => 'bindzones'}, 'value'); + my ($ref) = $sitetab->getAttribs({key => 'bindzones'}, 'value'); if ($ref and $ref->{value}) { $ZonesDir= $ref->{value}; } @@ -327,7 +327,7 @@ sub get_conf { } if ($sitetab) { - ($ref) = $sitetab->getAttribs({key => 'bindconf'}, 'value'); + my ($ref) = $sitetab->getAttribs({key => 'bindconf'}, 'value'); if ($ref and $ref->{value}) { $conf= $ref->{value}; }