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
This commit is contained in:
mxi1 2011-03-22 08:56:21 +00:00
parent 4175e33d5c
commit 7863e25f42

View File

@ -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};