From df533f7eb1eb546fbe05ccfe00c9510d8aba02a9 Mon Sep 17 00:00:00 2001 From: scott lewis <33612882+dk-lockdown@users.noreply.github.com> Date: Sat, 13 Aug 2022 15:59:25 +0800 Subject: [PATCH] fix: setting tags for serialization (#245) --- pkg/filter/breaker/breaker.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/filter/breaker/breaker.go b/pkg/filter/breaker/breaker.go index 50b866a..3093f46 100644 --- a/pkg/filter/breaker/breaker.go +++ b/pkg/filter/breaker/breaker.go @@ -78,9 +78,9 @@ type _filter struct { } type CircuitBreakerConfig struct { - ErrorThreshold int - SuccessThreshold int - Timeout int + ErrorThreshold int `yaml:"error_threshold" json:"error_threshold"` + SuccessThreshold int `yaml:"success_threshold" json:"success_threshold"` + Timeout int `yaml:"timeout" json:"timeout"` } func (f *_filter) GetKind() string {