@@ -144,15 +144,11 @@ func (c *SdkServerController) SplitChanges(ctx *gin.Context) {
144144 rules .FeatureFlags .Splits = c .patchUnsupportedMatchers (rules .FeatureFlags .Splits , spec )
145145
146146 if spec == specs .FLAG_V1_3 {
147- fmt .Println ("1.3 1.3 1.3 1.3 1.3 " )
148- fmt .Println ("cantidad de ff:" , len (rules .FeatureFlags .Splits ), rules .FeatureFlags .Since , rules .FeatureFlags .Till )
149- fmt .Println ("cantidad de rb:" , len (rules .RuleBasedSegments .RuleBasedSegments ), rules .RuleBasedSegments .Since , rules .RuleBasedSegments .Till )
150147 ctx .JSON (http .StatusOK , rules )
151148 ctx .Set (caching .SurrogateContextKey , []string {caching .SplitSurrogate })
152149 ctx .Set (caching .StickyContextKey , true )
153150 return
154151 }
155- fmt .Println ("otra otra otra otra" )
156152 ctx .JSON (http .StatusOK , dtos.SplitChangesDTO {
157153 Splits : rules .FeatureFlags .Splits ,
158154 Since : rules .FeatureFlags .Since ,
@@ -210,12 +206,8 @@ func (c *SdkServerController) MySegments(ctx *gin.Context) {
210206}
211207
212208func (c * SdkServerController ) fetchRulesSince (since int64 , rbsince int64 , sets []string ) (* dtos.RuleChangesDTO , error ) {
213- fmt .Println ("split change since: " , since )
214209 splits , err := c .proxySplitStorage .ChangesSince (since , sets )
215- fmt .Println ("split result: " , splits , err )
216- fmt .Println ("rule baseed since: " , rbsince )
217210 rbs , rbsErr := c .proxyRBSegmentStorage .ChangesSince (rbsince )
218- fmt .Println ("rulebased result: " , rbs , rbsErr )
219211 if err == nil && rbsErr == nil {
220212 return & dtos.RuleChangesDTO {
221213 FeatureFlags : dtos.FeatureFlagsDTO {
0 commit comments