From 6930f17cebfd4d10f881b95a982f026bfd68d2c9 Mon Sep 17 00:00:00 2001 From: yinle Date: Sat, 15 Jan 2011 07:30:37 +0000 Subject: [PATCH] fix defect: 3157028 lsdef -a could not list other objects except node git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8671 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/DBobjectdefs.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm index 05a3d277e..d5da28506 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -2914,6 +2914,8 @@ sub defls if ( $hidhash->{hidden} ne 1) { push (@{$newrsp->{data}}, $n); } + }else{ + push (@{$newrsp->{data}}, $n); } } if (defined($newrsp->{data}) && scalar(@{$newrsp->{data}}) > 0) {