diff --git a/perl-xCAT/xCAT/Table.pm b/perl-xCAT/xCAT/Table.pm index c8b22718d..c3ad4d759 100644 --- a/perl-xCAT/xCAT/Table.pm +++ b/perl-xCAT/xCAT/Table.pm @@ -2889,7 +2889,9 @@ sub getAllAttribsWhere Arguments: Table handle - Attribute list + Attribute list + optional hash return style + ( changes the return hash structure format) Returns: Array of attribute values Globals: @@ -2897,7 +2899,8 @@ sub getAllAttribsWhere Error: Example: - my @entries = $self->{switchtab}->getAllNodeAttribs(['port','switch']); + my @entries = $self->{switchtab}->getAllNodeAttribs(['port','switch']); + my @entries = $self->{switchtab}->getAllNodeAttribs(['port','switch'],1); Comments: none