2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-25 05:41:09 +00:00

xCAT::DBobjUtils->gettbldesc does not parse params correctly and then cannot filter non used table and columns (#6042)

This commit is contained in:
Bin Xu
2019-02-27 10:57:45 +08:00
committed by yangsong
parent dd3e087eeb
commit 869eabeec2

View File

@@ -246,7 +246,9 @@ sub getobjattrs
#-----------------------------------------------------------------------------
sub gettbldesc {
my ($class, $objtype) = @_;
my $class = shift;
my $objtype = shift;
my @attrs;
# The $attrs is an optional argument
if (ref $_[0]) {