Skip to content

Commit c2f5f08

Browse files
Fix Override Function Comments (#262)
1 parent 9839e07 commit c2f5f08

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

client.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -272,21 +272,21 @@ func (c *Client) LogEvent(event Event) {
272272
}, &evalContext{Caller: "logEvent"})
273273
}
274274

275-
// Override the value of a Feature Gate for the given user
275+
// Override the value of a Feature Gate for all users
276276
func (c *Client) OverrideGate(gate string, val bool) {
277277
c.errorBoundary.captureVoid(func(context *evalContext) {
278278
c.evaluator.OverrideGate(gate, val)
279279
}, &evalContext{Caller: "overrideGate", ConfigName: gate})
280280
}
281281

282-
// Override the DynamicConfig value for the given user
282+
// Override the DynamicConfig value for all users
283283
func (c *Client) OverrideConfig(config string, val map[string]interface{}) {
284284
c.errorBoundary.captureVoid(func(context *evalContext) {
285285
c.evaluator.OverrideConfig(config, val)
286286
}, &evalContext{Caller: "overrideConfig", ConfigName: config})
287287
}
288288

289-
// Override the Layer value for the given user
289+
// Override the Layer value for all users
290290
func (c *Client) OverrideLayer(layer string, val map[string]interface{}) {
291291
c.errorBoundary.captureVoid(func(context *evalContext) {
292292
c.evaluator.OverrideLayer(layer, val)

0 commit comments

Comments
 (0)