You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by nv...@apache.org on 2022/04/01 16:13:21 UTC

[cloudstack] branch 4.16 updated: ui, refactor: fix missing label in update network form (#6181)

This is an automated email from the ASF dual-hosted git repository.

nvazquez pushed a commit to branch 4.16
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.16 by this push:
     new 66a6671  ui,refactor: fix missing label in update network form (#6181)
66a6671 is described below

commit 66a6671e0b08b9551acf8a551ef894813f643855
Author: Abhishek Kumar <ab...@gmail.com>
AuthorDate: Fri Apr 1 21:42:50 2022 +0530

    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 <ab...@gmail.com>
---
 api/src/main/java/org/apache/cloudstack/api/ApiConstants.java           | 2 +-
 .../apache/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 b2afa1d..462fccc 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 2ffa52b..8bff3eb 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 6ba758b..14a5b8d 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",