Skip to content

Commit 73090e2

Browse files
committed
fix: don't force-resolve config after agent startup
Signed-off-by: Sam Gammon <[email protected]>
1 parent f47a2e2 commit 73090e2

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/main.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -292,14 +292,7 @@ async function setupAgentIfNeeded(
292292
}
293293
}
294294
if (!installFailed && !startFailed) {
295-
const cfg = await agentConfig()
296-
if (!cfg) {
297-
console.warn(
298-
`Agent started at PID ${pid}, but config failed to resolve. Caching may not work.`
299-
)
300-
} else {
301-
core.info(`Agent installed and started at PID: ${pid}.`)
302-
}
295+
core.info(`Agent installed and started at PID: ${pid}.`)
303296
agentEnabled = true
304297
agentManaged = true
305298
}

0 commit comments

Comments
 (0)