chore: delete the unnecessary functions called
This commit is contained in:
1 parent
94657735fb
commit
a1def17750
2 files changed
-9
No files matched your search
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user