Skip to content

Commit a05e795

Browse files
committed
address comments
1 parent 0569bdd commit a05e795

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

api/src/main/java/com/cloud/network/element/VpcProvider.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,7 @@ boolean implementVpc(Vpc vpc, DeployDestination dest, ReservationContext context
5656

5757
boolean updateVpcSourceNatIp(Vpc vpc, IpAddress address);
5858

59-
default boolean updateVpc(Vpc vpc, String previousVpcName) { return true; }
59+
default boolean updateVpc(Vpc vpc, String previousVpcName) {
60+
return true;
61+
}
6062
}

api/src/main/java/org/apache/cloudstack/api/command/user/vpc/CreateStaticRouteCmd.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ public class CreateStaticRouteCmd extends BaseAsyncCreateCmd {
5252
@Parameter(name = ApiConstants.VPC_ID,
5353
type = CommandType.UUID,
5454
entityType = VpcResponse.class,
55-
description = "the vpc id for which the static route is created. This is required for nexthop parameter")
55+
description = "the vpc id for which the static route is created. This is required for nexthop parameter",
56+
since = "4.21.0")
5657
private Long vpcId;
5758

5859
@Parameter(name = ApiConstants.NEXT_HOP,

api/src/main/java/org/apache/cloudstack/api/response/IPAddressResponse.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,5 +337,7 @@ public void setForSystemVms(boolean forSystemVms) {
337337
this.forSystemVms = forSystemVms;
338338
}
339339

340-
public void setForProvider(boolean forProvider) { this.forProvider = forProvider; }
340+
public void setForProvider(boolean forProvider) {
341+
this.forProvider = forProvider;
342+
}
341343
}

0 commit comments

Comments
 (0)