diff --git a/xCAT-server/lib/xcat/monitoring/montbhandler.pm b/xCAT-server/lib/xcat/monitoring/montbhandler.pm index 696fdfeba..7baa6ea54 100644 --- a/xCAT-server/lib/xcat/monitoring/montbhandler.pm +++ b/xCAT-server/lib/xcat/monitoring/montbhandler.pm @@ -5,8 +5,8 @@ BEGIN { $::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat'; } -use lib "$::XCATROOT/lib/perl"; +use lib "$::XCATROOT/lib/perl"; use xCAT::Table; use xCAT::MsgUtils; use xCAT::Utils; @@ -72,7 +72,7 @@ sub unregMonitoringNotif { my $tab = xCAT::Table->new('notification'); my $regged=0; if ($tab) { - (my $ref) = $tab->getAttribs({filename => qw(montbhandler.pm)}, tables); + (my $ref) = $tab->getAttribs({filename => qw(montbhandler.pm)}, "tables"); if ($ref and $ref->{tables}) { $regged=1; }