File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -149,9 +149,7 @@ func (h AppdynamicsHook) BeforeCompile(stager *libbuildpack.Stager) error {
149149 return nil
150150 }
151151
152- h .Log .Warning ("[DEPRECATION WARNING]:" )
153- h .Log .Warning ("Please use AppDynamics extension buildpack for Python Application instrumentation" )
154- h .Log .Warning ("for more details: https://docs.pivotal.io/partners/appdynamics/multibuildpack.html" )
152+ // Some env var or something that lets us know that we are using app dynamics?
155153
156154 vcapServices := os .Getenv ("VCAP_SERVICES" )
157155 services := make (map [string ][]Plan )
@@ -168,6 +166,9 @@ func (h AppdynamicsHook) BeforeCompile(stager *libbuildpack.Stager) error {
168166 return nil
169167 } else if match {
170168 appdServiceName = serviceName
169+ h .Log .Warning ("[DEPRECATION WARNING]:" )
170+ h .Log .Warning ("Please use AppDynamics extension buildpack for Python Application instrumentation" )
171+ h .Log .Warning ("for more details: https://docs.pivotal.io/partners/appdynamics/multibuildpack.html" )
171172 break
172173 }
173174 }
You can’t perform that action at this time.
0 commit comments