Minor change to lsdef output

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2982 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2009-03-25 14:06:03 +00:00
parent cb917e4b4e
commit 2c8137a5c3

View File

@ -394,7 +394,7 @@ sub getobjdefs
{
if (defined($tabhash{$lookup_table}{$objname}{$tabattr}) ) {
if ($verbose == 1) {
$objhash{$objname}{$attr} = "$tabhash{$lookup_table}{$objname}{$tabattr}\t(Table:$lookup_table - Key:$lookup_attr - Lookup:$tabattr)";
$objhash{$objname}{$attr} = "$tabhash{$lookup_table}{$objname}{$tabattr}\t(Table:$lookup_table - Key:$lookup_attr - Column:$tabattr)";
} else {
$objhash{$objname}{$attr} = $tabhash{$lookup_table}{$objname}{$tabattr};
}
@ -413,7 +413,7 @@ sub getobjdefs
{
if (defined($_->{$tabattr}) ) {
if ($verbose == 1) {
$objhash{$objname}{$attr} = "$_->{$tabattr}\t(Table:$lookup_table - Key:$lookup_attr - Lookup:$tabattr)";
$objhash{$objname}{$attr} = "$_->{$tabattr}\t(Table:$lookup_table - Key:$lookup_attr - Column:$tabattr)";
} else {
$objhash{$objname}{$attr} = $_->{$tabattr};
}