[#67] chain: Support IPAddress conditions #67

Merged
dkirillov merged 1 commit from dkirillov/policy-engine:feature/ip_conditions into master 2024-04-15 12:52:42 +00:00
Member

Signed-off-by: Denis Kirillov d.kirillov@yadro.com

Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
dkirillov self-assigned this 2024-04-10 15:12:15 +00:00
dkirillov changed title from [#XX] chain: Support IPAddress conditions to [#67] chain: Support IPAddress conditions 2024-04-10 15:12:24 +00:00
dkirillov force-pushed feature/ip_conditions from fe3864d3c6 to dadc43e5e7 2024-04-10 15:12:40 +00:00 Compare
dkirillov requested review from storage-core-committers 2024-04-10 15:13:29 +00:00
dkirillov requested review from storage-core-developers 2024-04-10 15:13:32 +00:00
pogpp approved these changes 2024-04-10 17:10:42 +00:00
fyrchik reviewed 2024-04-11 07:33:55 +00:00
iam/converter.go Outdated
@ -303,2 +306,4 @@
}
func ipConvertFunction(val string) (string, error) {
parsedIP, _, err := net.ParseCIDR(val)
Owner

Consider using netip package, it should be more optimized (ParseCIDR is netip.ParsePrefix, other functions also should be present there).

Consider using `netip` package, it should be more optimized (`ParseCIDR` is `netip.ParsePrefix`, other functions also should be present there).
dkirillov force-pushed feature/ip_conditions from dadc43e5e7 to 55e98f4a3a 2024-04-11 07:50:26 +00:00 Compare
dkirillov force-pushed feature/ip_conditions from 55e98f4a3a to c146ab165e 2024-04-12 07:32:34 +00:00 Compare
dstepanov-yadro approved these changes 2024-04-15 12:07:57 +00:00
alexvanin approved these changes 2024-04-15 12:50:58 +00:00
dkirillov merged commit ff5d05ac92 into master 2024-04-15 12:52:42 +00:00
dkirillov deleted branch feature/ip_conditions 2024-04-15 12:52:42 +00:00
Sign in to join this conversation.
No description provided.