From 376ade5641b3e85b06134f923b7450af985b7ffa Mon Sep 17 00:00:00 2001 From: Hamed Ghasemzadeh Date: Sun, 22 Sep 2024 01:44:46 +0200 Subject: [PATCH] Rename clapp to zygote --- lib/index.js | 8 ++++---- package-lock.json | 18 +++++++++++------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/lib/index.js b/lib/index.js index 40bf65d..631f37d 100644 --- a/lib/index.js +++ b/lib/index.js @@ -101,9 +101,9 @@ export class MEM { constructor(config) { if (!config) { config = { - MEM_SHARD_1_INTERNAL_HOST: "clapp-mem-shard-1", - MEM_SHARD_2_INTERNAL_HOST: "clapp-mem-shard-2", - MEM_SHARD_3_INTERNAL_HOST: "clapp-mem-shard-3", + MEM_SHARD_1_INTERNAL_HOST: "zygote-mem-shard-1", + MEM_SHARD_2_INTERNAL_HOST: "zygote-mem-shard-2", + MEM_SHARD_3_INTERNAL_HOST: "zygote-mem-shard-3", MEM_INTERNAL_PORT: 6373, }; } @@ -137,7 +137,7 @@ export class MEM { if (!process.env.REDIS_NATMAP_DISABLED) { const execP = util.promisify(exec); const { stdout: getnetResult } = await execP( - "docker run --rm --network mynet ghcr.io/clusterlean/ark:main getent hosts clapp-mem-shard-1 clapp-mem-shard-2 clapp-mem-shard-3" + "docker run --rm --network mynet ghcr.io/evgnomon/ark:main getent hosts zygote-mem-shard-1 zygote-mem-shard-2 zygote-mem-shard-3" ); const ipHosts = getnetResult .split(/\r?\n/) diff --git a/package-lock.json b/package-lock.json index 6356f4b..63bca85 100644 --- a/package-lock.json +++ b/package-lock.json @@ -669,12 +669,13 @@ } }, "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, + "license": "MIT", "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -1607,10 +1608,11 @@ } }, "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, + "license": "MIT", "dependencies": { "to-regex-range": "^5.0.1" }, @@ -2209,6 +2211,7 @@ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.12.0" } @@ -3611,6 +3614,7 @@ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dev": true, + "license": "MIT", "dependencies": { "is-number": "^7.0.0" },