(ctx context.Context)
| 89 | } |
| 90 | |
| 91 | func InstanceTokenFetched(ctx context.Context) bool { |
| 92 | elem := ctx.Value(instanceTokenFetched) |
| 93 | if elem == nil { |
| 94 | return false |
| 95 | } |
| 96 | return elem.(bool) |
| 97 | } |
| 98 | |
| 99 | func SetInstanceHasJITConfig(ctx context.Context, cfg map[string]string) context.Context { |
| 100 | return context.WithValue(ctx, instanceHasJITConfig, len(cfg) > 0) |
no outgoing calls
no test coverage detected