From 3506cbd5e9ad2587fe32bacc0c2410cd00e72974 Mon Sep 17 00:00:00 2001 From: Matthias Schneider Date: Fri, 2 Oct 2020 17:38:04 +0200 Subject: [PATCH] fix: udp json struct tag --- pkg/config/runtime/runtime.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/runtime/runtime.go b/pkg/config/runtime/runtime.go index 71e2bb33b..12237cc33 100644 --- a/pkg/config/runtime/runtime.go +++ b/pkg/config/runtime/runtime.go @@ -23,7 +23,7 @@ type Configuration struct { TCPRouters map[string]*TCPRouterInfo `json:"tcpRouters,omitempty"` TCPServices map[string]*TCPServiceInfo `json:"tcpServices,omitempty"` UDPRouters map[string]*UDPRouterInfo `json:"udpRouters,omitempty"` - UDPServices map[string]*UDPServiceInfo `json:"updServices,omitempty"` + UDPServices map[string]*UDPServiceInfo `json:"udpServices,omitempty"` } // NewConfig returns a Configuration initialized with the given conf. It never returns nil.