Repository: cloudstack
Updated Branches:
  refs/heads/4.4 799480cf0 -> c94158f0f


CLOUDSTACK-6659: fixed the name for the updateIpAddress API command


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c94158f0
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c94158f0
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c94158f0

Branch: refs/heads/4.4
Commit: c94158f0fdb5a742a80a3a9177809d9a1840af18
Parents: 799480c
Author: Alena Prokharchyk <[email protected]>
Authored: Tue May 13 14:08:16 2014 -0700
Committer: Daan Hoogland <[email protected]>
Committed: Tue May 13 23:23:28 2014 +0200

----------------------------------------------------------------------
 .../cloudstack/api/command/user/address/UpdateIPAddrCmd.java       | 2 +-
 client/tomcatconf/commands.properties.in                           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c94158f0/api/src/org/apache/cloudstack/api/command/user/address/UpdateIPAddrCmd.java
----------------------------------------------------------------------
diff --git 
a/api/src/org/apache/cloudstack/api/command/user/address/UpdateIPAddrCmd.java 
b/api/src/org/apache/cloudstack/api/command/user/address/UpdateIPAddrCmd.java
index 99bb1af..c64b641 100644
--- 
a/api/src/org/apache/cloudstack/api/command/user/address/UpdateIPAddrCmd.java
+++ 
b/api/src/org/apache/cloudstack/api/command/user/address/UpdateIPAddrCmd.java
@@ -38,7 +38,7 @@ import com.cloud.exception.ResourceUnavailableException;
 import com.cloud.network.IpAddress;
 import com.cloud.user.Account;
 
-@APICommand(name = "updatePublicIpAddress", description = "Updates an ip 
address", responseObject = IPAddressResponse.class,
+@APICommand(name = "updateIpAddress", description = "Updates an ip address", 
responseObject = IPAddressResponse.class,
  requestHasSensitiveInfo = false, responseHasSensitiveInfo = false, entityType 
= { IpAddress.class })
 public class UpdateIPAddrCmd extends BaseAsyncCustomIdCmd {
     public static final Logger s_logger = 
Logger.getLogger(UpdateIPAddrCmd.class.getName());

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c94158f0/client/tomcatconf/commands.properties.in
----------------------------------------------------------------------
diff --git a/client/tomcatconf/commands.properties.in 
b/client/tomcatconf/commands.properties.in
index 4a7e667..a3d3135 100644
--- a/client/tomcatconf/commands.properties.in
+++ b/client/tomcatconf/commands.properties.in
@@ -146,7 +146,7 @@ listDedicatedGuestVlanRanges=1
 associateIpAddress=15
 disassociateIpAddress=15
 listPublicIpAddresses=15
-updatePublicIpAddress=15
+updateIpAddress=15
 
 #### firewall commands
 listPortForwardingRules=15

Reply via email to