File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
arex-agent-core/src/main/java/io/arex/agent/instrumentation Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -52,19 +52,20 @@ public void install() {
52
52
Thread .currentThread ().setContextClassLoader (getClassLoader ());
53
53
// Timed load config for agent delay start and dynamic retransform
54
54
long delayMinutes = ConfigService .INSTANCE .loadAgentConfig (agentArgs );
55
- ConfigService .INSTANCE .reportStatus ();
56
55
if (delayMinutes > 0 ) {
57
56
TimerService .schedule (this ::install , delayMinutes , TimeUnit .MINUTES );
58
57
timedReportStatus ();
59
58
}
60
59
if (!ConfigManager .INSTANCE .valid ()) {
60
+ ConfigService .INSTANCE .reportStatus ();
61
61
if (!ConfigManager .FIRST_TRANSFORM .get ()) {
62
62
LOGGER .warn ("[AREX] Agent would not install due to {}." , ConfigManager .INSTANCE .getInvalidReason ());
63
63
}
64
64
return ;
65
65
}
66
66
initDependentComponents ();
67
67
transform ();
68
+ ConfigService .INSTANCE .reportStatus ();
68
69
} finally {
69
70
Thread .currentThread ().setContextClassLoader (savedContextClassLoader );
70
71
}
You can’t perform that action at this time.
0 commit comments