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