remove unnecessary WaitingTaskProcessor
This commit is contained in:
parent
16134613b4
commit
0e82cbe2ca
@ -27,7 +27,7 @@ public class PacProcessorFactory implements EntityProcessorFactory {
|
|||||||
Hive hive = pac.getHive();
|
Hive hive = pac.getHive();
|
||||||
UnixUser unixUser = getPacAdminUser(pac);
|
UnixUser unixUser = getPacAdminUser(pac);
|
||||||
String password = PasswordTool.generatePassword();
|
String password = PasswordTool.generatePassword();
|
||||||
Processor priProcessor = new CompoundProcessor(
|
Processor processor = new CompoundProcessor(
|
||||||
createAddUserProc(pacName, unixUser, password),
|
createAddUserProc(pacName, unixUser, password),
|
||||||
createSetQuotaProc(pac),
|
createSetQuotaProc(pac),
|
||||||
createEtcHostsProc(hive),
|
createEtcHostsProc(hive),
|
||||||
@ -39,8 +39,7 @@ public class PacProcessorFactory implements EntityProcessorFactory {
|
|||||||
createIfUp(pacName),
|
createIfUp(pacName),
|
||||||
createHttpdVirtualProc(hive),
|
createHttpdVirtualProc(hive),
|
||||||
createAccountingRulesProc());
|
createAccountingRulesProc());
|
||||||
WaitingTasksProcessor secProcessor = new WaitingTasksProcessor(priProcessor);
|
return processor;
|
||||||
return secProcessor;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private Processor createAccountingRulesProc() {
|
private Processor createAccountingRulesProc() {
|
||||||
|
Loading…
Reference in New Issue
Block a user