Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Update external-migration-service.ts

Daniel Hougaard50098ebb318d
diff --git a/backend/src/services/external-migration/external-migration-service.ts b/backend/src/services/external-migration/external-migration-service.ts
index 9674ab54c4..1ac5d4f1af 100644
--- a/backend/src/services/external-migration/external-migration-service.ts
+++ b/backend/src/services/external-migration/external-migration-service.ts
@@ -347,18 +347,7 @@ export const externalMigrationServiceFactory = ({
gatewayDetails
);
- const mounts = await listHCVaultMounts(connection, gatewayService, gatewayV2Service);
- const sampleKvMount = mounts.find((mount) => mount.type === "kv");
- if (sampleKvMount) {
- await listHCVaultSecretPaths(
- namespace,
- connection,
- gatewayService,
- gatewayV2Service,
- sampleKvMount.path,
- gatewayDetails
- );
- }
+ await listHCVaultMounts(connection, gatewayService, gatewayV2Service);
} catch (error) {
throw new BadRequestError({
message: `Failed to establish namespace confiugration. ${error instanceof Error ? error.message : "Unknown error"}`