chore: delete the unnecessary functions called

This commit is contained in:
YewFence authored and jarek committed 2026-04-19 16:22:01 +02:00
1 parent 94657735fb
commit a1def17750
2 files changed
-9

No files matched your search

-4
View File
@@ -1,7 +1,6 @@
import { json } from '@sveltejs/kit';
import { authorize } from '$lib/server/authorize';
import {
detectHostDataDir,
getOwnContainerId,
getHostDockerSocket,
getOwnDockerHost,
@@ -262,9 +261,6 @@ export const POST: RequestHandler = async ({ request, cookies }) => {
return json({ error: 'Not running in Docker' }, { status: 400 });
}
// Populate cached inspect data used to mirror Dockhand's own sidecar settings.
await detectHostDataDir().catch(() => null);
const writable = await isDockerWritable(containerId);
if (!writable) {
return json({