From 835fb0fa2c91301b8352c33cc9866b658f3d5ede Mon Sep 17 00:00:00 2001 From: ShyunnY <1147212064@qq.com> Date: Wed, 10 Apr 2024 19:15:44 +0800 Subject: [PATCH] fix: add json tag Signed-off-by: ShyunnY <1147212064@qq.com> --- api/v1alpha1/envoygateway_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1alpha1/envoygateway_types.go b/api/v1alpha1/envoygateway_types.go index 5a9d227e9f8..7cf0810c1cf 100644 --- a/api/v1alpha1/envoygateway_types.go +++ b/api/v1alpha1/envoygateway_types.go @@ -378,7 +378,7 @@ type RateLimitTracing struct { // Provider defines the rateLimit tracing provider. // Only OpenTelemetry is supported currently. - Provider *RateLimitTracingProvider + Provider *RateLimitTracingProvider `json:"provider,omitempty"` } type RateLimitTracingProviderType string