@@ -195,17 +195,17 @@ def variable(user, key, default, opts = {})
195195 value = default
196196 type = determine_variable_type ( default )
197197 defaulted = true
198- eval = { reason : DevCycle ::DEFAULT_REASONS ::USER_NOT_TARGETED , details : DevCycle ::DEFAULT_REASON_DETAILS ::USER_NOT_TARGETED }
198+ # eval = { reason: DevCycle::DEFAULT_REASONS::USER_NOT_TARGETED, details: DevCycle::DEFAULT_REASON_DETAILS::USER_NOT_TARGETED }
199199 if local_bucketing_initialized? && @local_bucketing . has_config
200200 type_code = variable_type_code_from_type ( type )
201201 variable_pb = variable_for_user_pb ( user , key , type_code )
202202 unless variable_pb . nil?
203203 value = get_variable_value ( variable_pb )
204204 defaulted = false
205205 end
206- eval = get_eval_reason ( variable_pb )
206+ # eval = get_eval_reason(variable_pb)
207207 else
208- eval = { reason : DevCycle ::DEFAULT_REASONS ::DEFAULT , details : DevCycle ::DEFAULT_REASON_DETAILS ::MISSING_CONFIG }
208+ # eval = { reason: DevCycle::DEFAULT_REASONS::DEFAULT, details: DevCycle::DEFAULT_REASON_DETAILS::MISSING_CONFIG }
209209 @logger . warn ( "Local bucketing not initialized, returning default value for variable #{ key } " )
210210 variable_event = Event . new ( { type : DevCycle ::EventTypes [ :agg_variable_defaulted ] , target : key } )
211211 bucketed_config = BucketedUserConfig . new ( { } , { } , { } , { } , { } , { } , [ ] )
@@ -218,7 +218,7 @@ def variable(user, key, default, opts = {})
218218 type : type ,
219219 defaultValue : default ,
220220 isDefaulted : defaulted ,
221- eval : eval
221+ # eval: eval
222222 } )
223223 end
224224
0 commit comments