From 5858cc943115e94cfd75113df9626044757e51e0 Mon Sep 17 00:00:00 2001 From: Evis Drenova Date: Tue, 5 Nov 2024 15:39:03 -0800 Subject: [PATCH] update const strings --- .../benthos/transformers/generate_ip_address.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/worker/pkg/benthos/transformers/generate_ip_address.go b/worker/pkg/benthos/transformers/generate_ip_address.go index 42676a55df..c51746db91 100644 --- a/worker/pkg/benthos/transformers/generate_ip_address.go +++ b/worker/pkg/benthos/transformers/generate_ip_address.go @@ -17,14 +17,14 @@ import ( type IpType string const ( - IpV4_Public IpType = "GENERATE_IP_ADDRESS_VERSION_V4_PUBLIC" - IpV4_PrivateA IpType = "GENERATE_IP_ADDRESS_VERSION_V4_PRIVATE_A" - IpV4_PrivateB IpType = "GENERATE_IP_ADDRESS_VERSION_V4_PRIVATE_B" - IpV4_PrivateC IpType = "GENERATE_IP_ADDRESS_VERSION_V4_PRIVATE_C" - IpV4_LinkLocal IpType = "GENERATE_IP_ADDRESS_VERSION_V4_LINK_LOCAL" - IpV4_Multicast IpType = "GENERATE_IP_ADDRESS_VERSION_V4_MULTICAST" - IpV4_Loopback IpType = "GENERATE_IP_ADDRESS_VERSION_V4_LOOPBACK" - IpV4_V6 IpType = "GENERATE_IP_ADDRESS_VERSION_V6" + IpV4_Public IpType = "GENERATE_IP_ADDRESS_TYPE_V4_PUBLIC" + IpV4_PrivateA IpType = "GENERATE_IP_ADDRESS_TYPE_V4_PRIVATE_A" + IpV4_PrivateB IpType = "GENERATE_IP_ADDRESS_TYPE_V4_PRIVATE_B" + IpV4_PrivateC IpType = "GENERATE_IP_ADDRESS_TYPE_V4_PRIVATE_C" + IpV4_LinkLocal IpType = "GENERATE_IP_ADDRESS_TYPE_V4_LINK_LOCAL" + IpV4_Multicast IpType = "GENERATE_IP_ADDRESS_TYPE_V4_MULTICAST" + IpV4_Loopback IpType = "GENERATE_IP_ADDRESS_TYPE_V4_LOOPBACK" + IpV4_V6 IpType = "GENERATE_IP_ADDRESS_TYPE_V6" ) // Defined here -> https://www.meridianoutpost.com/resources/articles/IP-classes.php