Skip to content

Commit c8e27a9

Browse files
committed
fixed typo and cleanup
1 parent bec1e81 commit c8e27a9

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

lib/splitclient-rb/cache/repositories/splits_repository.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,6 @@ def add_feature_flag(split)
171171
end
172172

173173
def remove_feature_flag(split)
174-
tt_name = split[:trafficTypeName]
175-
176174
decrease_tt_name_count(split[:trafficTypeName])
177175
remove_from_flag_sets(split)
178176
@adapter.delete(namespace_key(".split.#{split[:name]}"))

lib/splitclient-rb/clients/split_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def record_latency(method, start)
402402
@telemetry_evaluation_producer.record_latency(Telemetry::Domain::Constants::TREATMENTS_BY_FLAG_SET, bucket)
403403
when GET_TREATMENTS_BY_FLAG_SETS
404404
@telemetry_evaluation_producer.record_latency(Telemetry::Domain::Constants::TREATMENTS_BY_FLAG_SETS, bucket)
405-
when GET_TREATMENT_WITH_CONFIG_BY_FLAG_SET
405+
when GET_TREATMENTS_WITH_CONFIG_BY_FLAG_SET
406406
@telemetry_evaluation_producer.record_latency(Telemetry::Domain::Constants::TREATMENTS_WITH_CONFIG_BY_FLAG_SET, bucket)
407407
when GET_TREATMENTS_WITH_CONFIG_BY_FLAG_SETS
408408
@telemetry_evaluation_producer.record_latency(Telemetry::Domain::Constants::TREATMENTS_WITH_CONFIG_BY_FLAG_SETS, bucket)

0 commit comments

Comments
 (0)