lib/contrast/agent/reporting/reporting_utilities/endpoints.rb in contrast-agent-6.6.2 vs lib/contrast/agent/reporting/reporting_utilities/endpoints.rb in contrast-agent-6.6.3
- old
+ new
@@ -151,10 +151,10 @@
# @return [String,nil]
def app_name
return @_app_name unless @_app_name.nil?
- @_app_name = ::Contrast::APP_CONTEXT.app_name
+ @_app_name = ::Contrast::APP_CONTEXT.name # rubocop:disable Security/Module/Name
end
# @return [String,nil]
def with_rescue
yield