Revert "Implement path-based secret loading"

This reverts commit 8ea8c7195f.
This commit is contained in:
Aarnav Tale
2025-05-23 10:42:25 -04:00
committed by GitHub
parent 71bdca6b8b
commit 5171120df8
11 changed files with 167 additions and 1743 deletions
+3 -7
View File
@@ -10,16 +10,12 @@ import { HostInfo } from '~/types';
import log from '~/utils/log';
export async function loadAgentSocket(
authkey: string | null,
authkey: string,
path: string,
ttl: number,
) {
if (authkey === null || authkey.length === 0) {
log.warn(
'agent',
'Agent authkey is not configured or is empty, agent support will be disabled.',
);
return undefined;
if (authkey.length === 0) {
return;
}
try {