From 66a6671e0b08b9551acf8a551ef894813f643855 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Fri, 1 Apr 2022 21:42:50 +0530 Subject: [PATCH] ui,refactor: fix missing label in update network form (#6181) updateinsequence param for updateNetwork API wasn't have correponding label in UI. Signed-off-by: Abhishek Kumar --- api/src/main/java/org/apache/cloudstack/api/ApiConstants.java | 2 +- .../cloudstack/api/command/user/network/UpdateNetworkCmd.java | 2 +- ui/public/locales/en.json | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/api/src/main/java/org/apache/cloudstack/api/ApiConstants.java b/api/src/main/java/org/apache/cloudstack/api/ApiConstants.java index b2afa1d6f86..462fcccf535 100644 --- a/api/src/main/java/org/apache/cloudstack/api/ApiConstants.java +++ b/api/src/main/java/org/apache/cloudstack/api/ApiConstants.java @@ -391,7 +391,7 @@ public class ApiConstants { public static final String USER_CONFIGURABLE = "userconfigurable"; public static final String USER_SECURITY_GROUP_LIST = "usersecuritygrouplist"; public static final String USE_VIRTUAL_NETWORK = "usevirtualnetwork"; - public static final String Update_IN_SEQUENCE = "updateinsequence"; + public static final String UPDATE_IN_SEQUENCE = "updateinsequence"; public static final String VALUE = "value"; public static final String VIRTUAL_MACHINE_ID = "virtualmachineid"; public static final String VIRTUAL_MACHINE_IDS = "virtualmachineids"; diff --git a/api/src/main/java/org/apache/cloudstack/api/command/user/network/UpdateNetworkCmd.java b/api/src/main/java/org/apache/cloudstack/api/command/user/network/UpdateNetworkCmd.java index 2ffa52bcfd2..8bff3ebfa54 100644 --- a/api/src/main/java/org/apache/cloudstack/api/command/user/network/UpdateNetworkCmd.java +++ b/api/src/main/java/org/apache/cloudstack/api/command/user/network/UpdateNetworkCmd.java @@ -72,7 +72,7 @@ public class UpdateNetworkCmd extends BaseAsyncCustomIdCmd implements UserCmd { @Parameter(name = ApiConstants.GUEST_VM_CIDR, type = CommandType.STRING, description = "CIDR for guest VMs, CloudStack allocates IPs to guest VMs only from this CIDR") private String guestVmCidr; - @Parameter(name =ApiConstants.Update_IN_SEQUENCE, type=CommandType.BOOLEAN, description = "if true, we will update the routers one after the other. applicable only for redundant router based networks using virtual router as provider") + @Parameter(name =ApiConstants.UPDATE_IN_SEQUENCE, type=CommandType.BOOLEAN, description = "if true, we will update the routers one after the other. applicable only for redundant router based networks using virtual router as provider") private Boolean updateInSequence; @Parameter(name = ApiConstants.DISPLAY_NETWORK, diff --git a/ui/public/locales/en.json b/ui/public/locales/en.json index 6ba758b03a6..14a5b8db5cd 100644 --- a/ui/public/locales/en.json +++ b/ui/public/locales/en.json @@ -2259,6 +2259,7 @@ "label.unmanaged.instance": "Unmanaged Instance", "label.unmanaged.instances": "Unmanaged Instances", "label.untagged": "Untagged", +"label.updateinsequence": "Update In Sequence", "label.update.instance.group": "Update Instance Group", "label.update.ip.range": "Update IP range", "label.update.network": "Update Network",