From 7863e25f425bba2b7f301099f960d456683dc37a Mon Sep 17 00:00:00 2001 From: mxi1 Date: Tue, 22 Mar 2011 08:56:21 +0000 Subject: [PATCH] updated the way to check the osimage in linuximage table git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/imgcapture.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/imgcapture.pm b/xCAT-server/lib/xcat/plugins/imgcapture.pm index 07de6a5d0..230c50692 100644 --- a/xCAT-server/lib/xcat/plugins/imgcapture.pm +++ b/xCAT-server/lib/xcat/plugins/imgcapture.pm @@ -122,7 +122,7 @@ sub process_request { return; } - my ($ref1) = $linuximgtab->getAttribs({imagename => $osimg}, 'comments'); + my ($ref1) = $linuximgtab->getAttribs({imagename => $osimg}, 'imagename'); unless($ref1) { my $rsp = {}; $rsp->{data}->[0] = qq{Cannot find $osimg from the linuximage table};