[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16311221#comment-16311221
 ] 

ASF GitHub Bot commented on CLOUDSTACK-10207:
---------------------------------------------

DaanHoogland commented on a change in pull request #2377: CLOUDSTACK-10207: 
updateVpnCustomerGateway: fix defaulting for option…
URL: https://github.com/apache/cloudstack/pull/2377#discussion_r159629699
 
 

 ##########
 File path: server/src/com/cloud/network/vpn/Site2SiteVpnManagerImpl.java
 ##########
 @@ -191,7 +191,7 @@ public Site2SiteCustomerGateway 
createCustomerGateway(CreateVpnCustomerGatewayCm
         String ikePolicy = cmd.getIkePolicy();
         String espPolicy = cmd.getEspPolicy();
         if (!NetUtils.isValidS2SVpnPolicy("ike", ikePolicy)) {
-            throw new InvalidParameterValueException("The customer gateway IKE 
policy " + ikePolicy + " is invalid!  Verify the required Diffie Hellman (DH) 
group is specified.");
+            throw new InvalidParameterValueException("The customer gateway IKE 
policy " + ikePolicy + " is invalid! Verify if the required Diffie Hellman (DH) 
group is specified.");
 
 Review comment:
   'whether' instead of 'if'?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> updateVpnCustomerGateway: unexpected changes on optional keys
> -------------------------------------------------------------
>
>                 Key: CLOUDSTACK-10207
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10207
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: API
>            Reporter: René Moser
>            Assignee: René Moser
>            Priority: Minor
>             Fix For: 4.11.0.0
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to