Skip to content

Project NOMAD is an offline-first knowledge and education server. Wikipedia, thousands of books, courses, maps, and optional local AI, all running on hardware you own with no internet required.

TypeScript

docs: fix out of place JSDoc comment

jakeaturnerdfc284c34d59
diff --git a/admin/app/services/docker_service.ts b/admin/app/services/docker_service.ts
index 87a77426..7919b1d2 100644
--- a/admin/app/services/docker_service.ts
+++ b/admin/app/services/docker_service.ts
@@ -455,13 +455,6 @@ export class DockerService {
}
}
- /**
- * Handles the long-running process of creating a Docker container for a service.
- * NOTE: This method should not be called directly. Instead, use `createContainerPreflight` to check prerequisites first
- * This method will also transmit server-sent events to the client to notify of progress.
- * @param serviceName
- * @returns
- */
/**
* Translate low-level dockerode errors into something a non-technical user can
* act on. Currently handles host port conflicts — the most common install
@@ -576,6 +569,13 @@ export class DockerService {
})
}
+ /**
+ * Handles the long-running process of creating a Docker container for a service.
+ * NOTE: This method should not be called directly. Instead, use `createContainerPreflight` to check prerequisites first
+ * This method will also transmit server-sent events to the client to notify of progress.
+ * @param serviceName
+ * @returns
+ */
async _createContainer(
service: Service & { dependencies?: Service[] },
containerConfig: any