From b9d48f41158ebce4b2f6ffbdbce528ecee98eb0b Mon Sep 17 00:00:00 2001 From: Larvan2 <78135608+Larvan2@users.noreply.github.com> Date: Mon, 20 Nov 2023 19:02:52 +0800 Subject: [PATCH] fix: parsing override --- adapter/provider/parser.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/adapter/provider/parser.go b/adapter/provider/parser.go index 09ae4332..a22492d2 100644 --- a/adapter/provider/parser.go +++ b/adapter/provider/parser.go @@ -27,11 +27,11 @@ type healthCheckSchema struct { } type OverrideSchema struct { - UDP *bool `proxy:"udp,omitempty"` - Up *string `proxy:"up,omitempty"` - Down *string `proxy:"down,omitempty"` + UDP *bool `provider:"udp,omitempty"` + Up *string `provider:"up,omitempty"` + Down *string `provider:"down,omitempty"` DialerProxy *string `provider:"dialer-proxy,omitempty"` - SkipCertVerify *bool `proxy:"skip-cert-verify,omitempty"` + SkipCertVerify *bool `provider:"skip-cert-verify,omitempty"` } type proxyProviderSchema struct {