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();
|
||||
UnixUser unixUser = getPacAdminUser(pac);
|
||||
String password = PasswordTool.generatePassword();
|
||||
Processor priProcessor = new CompoundProcessor(
|
||||
Processor processor = new CompoundProcessor(
|
||||
createAddUserProc(pacName, unixUser, password),
|
||||
createSetQuotaProc(pac),
|
||||
createEtcHostsProc(hive),
|
||||
@ -39,8 +39,7 @@ public class PacProcessorFactory implements EntityProcessorFactory {
|
||||
createIfUp(pacName),
|
||||
createHttpdVirtualProc(hive),
|
||||
createAccountingRulesProc());
|
||||
WaitingTasksProcessor secProcessor = new WaitingTasksProcessor(priProcessor);
|
||||
return secProcessor;
|
||||
return processor;
|
||||
}
|
||||
|
||||
private Processor createAccountingRulesProc() {
|
||||
|
Loading…
Reference in New Issue
Block a user