Skip to content

Commit b8c1dde

Browse files
authored
fix(NET-1044): use new update acls endpoint (#2842)
allow for updating both node and client acls
1 parent 8227e78 commit b8c1dde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/functions/acl.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ func GetACL(networkName string) *acls.ACLContainer {
1414

1515
// UpdateACL - update an ACL
1616
func UpdateACL(networkName string, payload *acls.ACLContainer) *acls.ACLContainer {
17-
return request[acls.ACLContainer](http.MethodPut, fmt.Sprintf("/api/networks/%s/acls", networkName), payload)
17+
return request[acls.ACLContainer](http.MethodPut, fmt.Sprintf("/api/networks/%s/acls/v2", networkName), payload)
1818
}

0 commit comments

Comments
 (0)