From 3c751a0f7ec3426f954e31863d30acb63cf74685 Mon Sep 17 00:00:00 2001 From: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com> Date: Wed, 24 Jan 2024 11:46:20 -0700 Subject: [PATCH] update names --- config/confignet/confignet.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/confignet/confignet.go b/config/confignet/confignet.go index 37d0b17b4cb..286208a7e7d 100644 --- a/config/confignet/confignet.go +++ b/config/confignet/confignet.go @@ -23,9 +23,9 @@ const ( IP TransportType = "ip" IP4 TransportType = "ip4" IP6 TransportType = "ip6" - UNIX TransportType = "unix" - UNIXGRAM TransportType = "unixgram" - UNIXPACKET TransportType = "unixpacket" + Unix TransportType = "unix" + Unixgram TransportType = "unixgram" + UnixPacket TransportType = "unixpacket" ) // UnmarshalText unmarshalls text to a TransportType. @@ -42,9 +42,9 @@ func (tt *TransportType) UnmarshalText(in []byte) error { IP, IP4, IP6, - UNIX, - UNIXGRAM, - UNIXPACKET: + Unix, + Unixgram, + UnixPacket: *tt = typ return nil default: