mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-17 16:50:22 +00:00
fix bug about Table::getNodeSpecAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11759 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@@ -2348,7 +2348,7 @@ sub getNodeSpecAttribs {
|
||||
my @keys = ();
|
||||
if (ref $_[0] eq 'HASH') {
|
||||
%options = %{shift()};
|
||||
@attribs = @{shift()};
|
||||
@attribs = @_;
|
||||
foreach my $key (keys %options) {
|
||||
if (!grep(/^$key$/, @attribs)) {
|
||||
push @attribs, $key;
|
||||
|
Reference in New Issue
Block a user