Skip to content

Commit bba292f

Browse files
committed
CLOUDSTACK-7639: make cidrlist update when updateNetworkAclItem is called
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> (cherry picked from commit b2b9de7) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 9ea3bd2 commit bba292f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎engine/schema/src/com/cloud/network/vpc/dao/NetworkACLItemDaoImpl.java‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@ public NetworkACLItemVO findById(Long id) {
9090
return item;
9191
}
9292

93+
@Override
94+
public boolean update(Long id, NetworkACLItemVO item) {
95+
boolean result = super.update(id, item);
96+
saveCidrs(item, item.getSourceCidrList());
97+
return result;
98+
}
99+
93100
@Override
94101
public boolean setStateToAdd(NetworkACLItemVO rule) {
95102
SearchCriteria<NetworkACLItemVO> sc = AllFieldsSearch.create();

0 commit comments

Comments
 (0)