Skip to content

Commit 95eb519

Browse files
authored
Merge pull request #214 from splitio/development
[SDKS-7828] Update treatmentsByFlagSets for telemetry
2 parents 5bd178b + 4cc13a1 commit 95eb519

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
6.5.2 (Dec 21, 2023)
2+
- Updated telemetry name methods for flagSets.
3+
14
6.5.1 (Dec 6, 2023)
25
- Fixed FlagSetsFilter naming in Advanced config.
36

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/splitio/go-client/v6
33
go 1.18
44

55
require (
6-
github.com/splitio/go-split-commons/v5 v5.1.0
6+
github.com/splitio/go-split-commons/v5 v5.1.1
77
github.com/splitio/go-toolkit/v5 v5.3.2
88
)
99

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/r
1010
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc=
1111
github.com/redis/go-redis/v9 v9.0.4 h1:FC82T+CHJ/Q/PdyLW++GeCO+Ol59Y4T7R4jbgjvktgc=
1212
github.com/redis/go-redis/v9 v9.0.4/go.mod h1:WqMKv5vnQbRuZstUwxQI195wHy+t4PuXDOjzMvcuQHk=
13-
github.com/splitio/go-split-commons/v5 v5.1.0 h1:mki1235gjXwuxcXdv/bKVduX1Lv09uXJogds+BspqSM=
14-
github.com/splitio/go-split-commons/v5 v5.1.0/go.mod h1:9vAZrlhKvhensyRC11hyVFdgLIBrkX9D5vdYc9qB13w=
13+
github.com/splitio/go-split-commons/v5 v5.1.1 h1:lLOqNQMdZA5Z7FBBh4YODWdE2QFgxSPMptX9ty14x4c=
14+
github.com/splitio/go-split-commons/v5 v5.1.1/go.mod h1:9vAZrlhKvhensyRC11hyVFdgLIBrkX9D5vdYc9qB13w=
1515
github.com/splitio/go-toolkit/v5 v5.3.2 h1:Yy9YBcHRmK5WVZjeA/klLGEdF38xpsL1ejnC3ro8a2M=
1616
github.com/splitio/go-toolkit/v5 v5.3.2/go.mod h1:xYhUvV1gga9/1029Wbp5pjnR6Cy8nvBpjw99wAbsMko=
1717
github.com/twmb/murmur3 v1.1.6 h1:mqrRot1BRxm+Yct+vavLMou2/iJt0tNVTTC0QoIjaZg=

splitio/client/client.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ const (
2424
treatment = "Treatment"
2525
treatments = "Treatments"
2626
treatmentsByFlagSet = "TreatmentsByFlagSet"
27-
treatmentsByFlagSets = "TreatmentsByFlahSets"
27+
treatmentsByFlagSets = "TreatmentsByFlagSets"
2828
treatmentWithConfig = "TreatmentWithConfig"
2929
treatmentsWithConfig = "TreatmentsWithConfig"
3030
treatmentsWithConfigByFlagSet = "TreatmentsWithConfigByFlagSet"
31-
treatmentsWithConfigByFlagSets = "TrearmentsWithConfigByFlagSets"
31+
treatmentsWithConfigByFlagSets = "TreatmentsWithConfigByFlagSets"
3232
)
3333

3434
// SplitClient is the entry-point of the split SDK.
@@ -396,7 +396,7 @@ func (c *SplitClient) TreatmentsWithConfigByFlagSet(key interface{}, flagSet str
396396
if sets == nil {
397397
return treatmentsResult
398398
}
399-
return c.doTreatmentsCallByFlagSets(key, sets, attributes, treatmentsWithConfigByFlagSet, telemetry.TreatmentsByFlagSets)
399+
return c.doTreatmentsCallByFlagSets(key, sets, attributes, treatmentsWithConfigByFlagSet, telemetry.TreatmentsWithConfigByFlagSet)
400400
}
401401

402402
// TreatmentsWithConfigByFlagSet evaluates multiple feature flag names belonging to a flag sets for a single user and set of attributes at once and returns configurations
@@ -406,7 +406,7 @@ func (c *SplitClient) TreatmentsWithConfigByFlagSets(key interface{}, flagSets [
406406
if flagSets == nil {
407407
return treatmentsResult
408408
}
409-
return c.doTreatmentsCallByFlagSets(key, flagSets, attributes, treatmentsWithConfigByFlagSets, telemetry.TreatmentsByFlagSets)
409+
return c.doTreatmentsCallByFlagSets(key, flagSets, attributes, treatmentsWithConfigByFlagSets, telemetry.TreatmentsWithConfigByFlagSets)
410410
}
411411

412412
// isDestroyed returns true if the client has been destroyed

splitio/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
package splitio
22

33
// Version contains a string with the split sdk version
4-
const Version = "6.5.1"
4+
const Version = "6.5.2"

0 commit comments

Comments
 (0)