chore: defer the path based config loading till 0.6.1. (#223)

This commit is contained in:
Aarnav Tale 2025-05-23 10:46:14 -04:00 committed by GitHub
parent 62863ad649
commit 3a5ab68432
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 167 additions and 1751 deletions

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 {