Skip to content

Commit 9a17b03

Browse files
committed
Merge branch '764-dynatrace-oneagent-download'
Signed-off-by: Ben Hale <[email protected]>
2 parents 6fea4d5 + 8d9975f commit 9a17b03

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/java_buildpack/framework/dynatrace_one_agent.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ class DynatraceOneAgent < JavaBuildpack::Component::VersionedDependencyComponent
3232
#
3333
# @param [Hash] context a collection of utilities used the component
3434
def initialize(context)
35-
super(context)
35+
@application = context[:application]
36+
@component_name = self.class.to_s.space_case
37+
@configuration = context[:configuration]
38+
@droplet = context[:droplet]
39+
3640
@version, @uri = agent_download_url if supports?
3741
@logger = JavaBuildpack::Logging::LoggerFactory.instance.get_logger DynatraceOneAgent
3842
end

0 commit comments

Comments
 (0)