mirror of https://github.com/apache/cloudstack.git
Introducing the mapping between job instance and instance id for
static routes and vpc gateways.
This commit is contained in:
parent
f772c9aa99
commit
589efc80ec
|
|
@ -126,6 +126,10 @@ public class AsyncJobResponse extends BaseResponse {
|
|||
this.jobInstanceId.setTableName("account");
|
||||
} else if (jobInstanceType.equalsIgnoreCase(AsyncJob.Type.User.toString())) {
|
||||
this.jobInstanceId.setTableName("user");
|
||||
}else if (jobInstanceType.equalsIgnoreCase(AsyncJob.Type.PrivateGateway.toString())) {
|
||||
this.jobInstanceId.setTableName("vpc_gateways");
|
||||
}else if (jobInstanceType.equalsIgnoreCase(AsyncJob.Type.StaticRoute.toString())) {
|
||||
this.jobInstanceId.setTableName("static_routes");
|
||||
}else if (jobInstanceType.equalsIgnoreCase(AsyncJob.Type.Counter.toString())) {
|
||||
this.jobInstanceId.setTableName("counter");
|
||||
} else if (jobInstanceType.equalsIgnoreCase(AsyncJob.Type.Condition.toString())) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue