#212726 [PCM4.1][Patch] [Dev to propose fix] The image profile kit plugins are not getting called by pcmimageprofile.pm

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
qyin 2013-07-05 08:36:32 +00:00
parent e54dbe69e4
commit 8a1502f0a9

View File

@ -172,7 +172,7 @@ sub process_request {
my $imageprofile = parse_str_arg($request->{arg}->[0]);
my $kitdata = $request->{kitdata};
if (! defined($kitdata)) {
if (! defined($kitdata) && !($command eq "kitimagepostdelete")) {
$kitdata = xCAT::KitPluginUtils->get_kits_used_by_image_profiles([$imageprofile]);
$request->{kitdata} = $kitdata;
}
@ -742,4 +742,4 @@ sub parse_list_arg {
}
1;
1;