defect 4147 - allow nodeset to continue if prescript errors
This commit is contained in:
		| @@ -414,9 +414,8 @@ sub process_request { | ||||
|        if ($errored) {  | ||||
| 	  my $rsp; | ||||
| 	  $rsp->{errorcode}->[0]=1; | ||||
| 	  $rsp->{error}->[0]="Failed in running begin prescripts\n"; | ||||
| 	  $rsp->{error}->[0]="Failed in running begin prescripts.  Processing will still continue.\n"; | ||||
| 	  $::PXE_callback->($rsp); | ||||
| 	  return;  | ||||
|        } | ||||
|    } | ||||
|    | ||||
| @@ -577,9 +576,8 @@ sub process_request { | ||||
|       if ($errored) {  | ||||
| 	  my $rsp; | ||||
| 	  $rsp->{errorcode}->[0]=1; | ||||
| 	  $rsp->{error}->[0]="Failed in running end prescripts\n"; | ||||
| 	  $rsp->{error}->[0]="Failed in running end prescripts.  Processing will still continue.\n"; | ||||
| 	  $::PXE_callback->($rsp); | ||||
| 	  return;  | ||||
|       } | ||||
|   } | ||||
|  | ||||
|   | ||||
| @@ -349,9 +349,8 @@ sub process_request { | ||||
|        if ($errored) {  | ||||
| 	  my $rsp; | ||||
| 	  $rsp->{errorcode}->[0]=1; | ||||
| 	  $rsp->{error}->[0]="Failed in running begin prescripts\n"; | ||||
| 	  $rsp->{error}->[0]="Failed in running begin prescripts.  Processing will still continue.\n"; | ||||
| 	  $::VSMPPXE_callback->($rsp); | ||||
| 	  return;  | ||||
|        } | ||||
|    } | ||||
|    | ||||
| @@ -466,9 +465,8 @@ sub process_request { | ||||
|       if ($errored) { | ||||
| 	  my $rsp; | ||||
| 	  $rsp->{errorcode}->[0]=1; | ||||
| 	  $rsp->{error}->[0]="Failed in running end prescripts\n"; | ||||
| 	  $rsp->{error}->[0]="Failed in running end prescripts.  Processing will still continue.\n"; | ||||
| 	  $::VSMPPXE_callback->($rsp); | ||||
| 	  return;  | ||||
|       } | ||||
|   } | ||||
|  | ||||
|   | ||||
| @@ -435,9 +435,8 @@ sub process_request { | ||||
|       if ($errored) {  | ||||
| 	  my $rsp; | ||||
|  	  $rsp->{errorcode}->[0]=1; | ||||
| 	  $rsp->{error}->[0]="Failed in running begin prescripts.\n"; | ||||
| 	  $rsp->{error}->[0]="Failed in running begin prescripts.  Processing will still continue.\n"; | ||||
| 	  $::XNBA_callback->($rsp); | ||||
| 	  return;  | ||||
|       } | ||||
|   }   | ||||
|  | ||||
| @@ -564,9 +563,8 @@ sub process_request { | ||||
|       if ($errored) {  | ||||
| 	  my $rsp; | ||||
|  	  $rsp->{errorcode}->[0]=1; | ||||
| 	  $rsp->{error}->[0]="Failed in running end prescripts.\n"; | ||||
| 	  $rsp->{error}->[0]="Failed in running end prescripts.  Processing will still continue.\n"; | ||||
| 	  $::XNBA_callback->($rsp); | ||||
| 	  return;  | ||||
|       } | ||||
|   } | ||||
|  | ||||
|   | ||||
| @@ -469,9 +469,8 @@ sub process_request { | ||||
|       if ($errored) { | ||||
| 	  my $rsp; | ||||
|  	  $rsp->{errorcode}->[0]=1; | ||||
| 	  $rsp->{error}->[0]="Failed in running begin prescripts.\n"; | ||||
| 	  $rsp->{error}->[0]="Failed in running begin prescripts.  Processing will still continue.\n"; | ||||
| 	  $::YABOOT_callback->($rsp); | ||||
| 	  return;  | ||||
|       } | ||||
|   }  | ||||
|  | ||||
| @@ -726,9 +725,14 @@ sub process_request { | ||||
|       if ($errored) {  | ||||
| 	  my $rsp; | ||||
| 	  $rsp->{errorcode}->[0]=1; | ||||
| <<<<<<< HEAD | ||||
| 	  $rsp->{error}->[0]="Failed in running end prescripts\n"; | ||||
| 	  $::YABOOT_callback->($rsp); | ||||
| 	  return;  | ||||
| ======= | ||||
| 	  $rsp->{error}->[0]="Failed in running end prescripts.  Processing will still continue.\n"; | ||||
| 	  $callback->($rsp); | ||||
| >>>>>>> 78b8d21... defect 4147 - allow nodeset to continue if prescript errors | ||||
|       } | ||||
|   } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user