From 41c22cc4798645dafd3b62ccf1485a8990399fa6 Mon Sep 17 00:00:00 2001 From: Johannes Mittendorfer Date: Thu, 5 Sep 2024 15:47:24 +0200 Subject: [PATCH] Add support for hwc buildback --- hook.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hook.go b/hook.go index 12985e6..28a1f5f 100644 --- a/hook.go +++ b/hook.go @@ -107,7 +107,7 @@ func (h *Hook) AfterCompile(stager *libbuildpack.Stager) error { h.Log.Debug("Making %s executable...", installerFilePath) os.Chmod(installerFilePath, 0755) - h.Log.BeginStep("Starting Dynatrace OneAgent installer") + /*h.Log.BeginStep("Starting Dynatrace OneAgent installer") //if os.Getenv("BP_DEBUG") != "" { err = h.Command.Execute("", os.Stdout, os.Stderr, installerFilePath, stager.BuildDir()) @@ -199,7 +199,7 @@ func (h *Hook) AfterCompile(stager *libbuildpack.Stager) error { } } - h.Log.Info("Dynatrace OneAgent injection is set up.") + h.Log.Info("Dynatrace OneAgent injection is set up.")*/ return nil }