mirror of https://github.com/apache/cloudstack.git
Don't initialize the logger in AsyncJobResponse class
This commit is contained in:
parent
3a4ee0d486
commit
867db1ae5e
|
|
@ -30,7 +30,6 @@ import com.google.gson.annotations.SerializedName;
|
|||
|
||||
@SuppressWarnings("unused")
|
||||
public class AsyncJobResponse extends BaseResponse {
|
||||
private static final Logger s_logger = Logger.getLogger(AsyncJobResponse.class.getName());
|
||||
|
||||
@SerializedName("accountid") @Param(description="the account that executed the async command")
|
||||
private IdentityProxy accountId = new IdentityProxy("account");
|
||||
|
|
@ -132,7 +131,6 @@ public class AsyncJobResponse extends BaseResponse {
|
|||
} else if (jobInstanceType.equalsIgnoreCase(AsyncJob.Type.User.toString())) {
|
||||
this.jobInstanceId.setTableName("user");
|
||||
} else if (!jobInstanceType.equalsIgnoreCase(AsyncJob.Type.None.toString())){
|
||||
s_logger.warn("Failed to get async job instanceId for job instance type " + jobInstanceType);
|
||||
// TODO : when we hit here, we need to add instanceType -> UUID entity table mapping
|
||||
assert(false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue