mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-15 18:12:35 +01:00
Fixed authorizeNetworkGroupIngress api command (it stopped working after API refactor)
This commit is contained in:
parent
1a8d9a92a7
commit
d43a8e983c
@ -224,6 +224,9 @@ public class ApiDispatcher {
|
||||
case LONG:
|
||||
listParam.add(Long.valueOf(token));
|
||||
break;
|
||||
case STRING:
|
||||
listParam.add(token.toString());
|
||||
break;
|
||||
}
|
||||
}
|
||||
field.set(cmdObj, listParam);
|
||||
|
||||
@ -420,7 +420,7 @@ public class NetworkGroupManagerImpl implements NetworkGroupManager {
|
||||
|
||||
@Override @DB @SuppressWarnings("rawtypes")
|
||||
public List<IngressRuleVO> authorizeNetworkGroupIngress(AuthorizeNetworkGroupIngressCmd cmd) throws InvalidParameterValueException, PermissionDeniedException{
|
||||
String groupName = cmd.getName();
|
||||
String groupName = cmd.getNetworkGroupName();
|
||||
String protocol = cmd.getProtocol();
|
||||
Integer startPort = cmd.getStartPort();
|
||||
Integer endPort = cmd.getEndPort();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user