Skip to content

Commit

Permalink
Merge branch '764-dynatrace-oneagent-download'
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Hale <bhale@pivotal.io>
  • Loading branch information
nebhale committed Jan 6, 2020
2 parents 6fea4d5 + 8d9975f commit 9a17b03
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/java_buildpack/framework/dynatrace_one_agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ class DynatraceOneAgent < JavaBuildpack::Component::VersionedDependencyComponent
#
# @param [Hash] context a collection of utilities used the component
def initialize(context)
super(context)
@application = context[:application]
@component_name = self.class.to_s.space_case
@configuration = context[:configuration]
@droplet = context[:droplet]

@version, @uri = agent_download_url if supports?
@logger = JavaBuildpack::Logging::LoggerFactory.instance.get_logger DynatraceOneAgent
end
Expand Down

0 comments on commit 9a17b03

Please sign in to comment.