From 27fa9171a7ced84705d39a2fd9757b27468e209a Mon Sep 17 00:00:00 2001 From: Slawomir Wieczorek Date: Mon, 13 Jan 2025 10:43:03 +0100 Subject: [PATCH] HELLODATA-1881 - fix users --- .../service/resource/SftpGoUserResourceProviderService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hello-data-sidecars/hello-data-sidecar-sftpgo/src/main/java/ch/bedag/dap/hellodata/sidecars/sftpgo/service/resource/SftpGoUserResourceProviderService.java b/hello-data-sidecars/hello-data-sidecar-sftpgo/src/main/java/ch/bedag/dap/hellodata/sidecars/sftpgo/service/resource/SftpGoUserResourceProviderService.java index b6db8091..cb25bc4a 100644 --- a/hello-data-sidecars/hello-data-sidecar-sftpgo/src/main/java/ch/bedag/dap/hellodata/sidecars/sftpgo/service/resource/SftpGoUserResourceProviderService.java +++ b/hello-data-sidecars/hello-data-sidecar-sftpgo/src/main/java/ch/bedag/dap/hellodata/sidecars/sftpgo/service/resource/SftpGoUserResourceProviderService.java @@ -52,11 +52,11 @@ public void publishUsers() { List subsystemUsers = toSubsystemUsers(allUsers); if (podUtils != null) { V1Pod current = podUtils.currentPod().get(); - UserResource userResource = new UserResource(ModuleType.AIRFLOW, this.instanceName, current.getMetadata().getNamespace(), subsystemUsers); + UserResource userResource = new UserResource(ModuleType.SFTPGO, this.instanceName, current.getMetadata().getNamespace(), subsystemUsers); natsSenderService.publishMessageToJetStream(PUBLISH_USER_RESOURCES, userResource); } else { //dummy info for tests - UserResource userResource = new UserResource(ModuleType.AIRFLOW, this.instanceName, "local", subsystemUsers); + UserResource userResource = new UserResource(ModuleType.SFTPGO, this.instanceName, "local", subsystemUsers); natsSenderService.publishMessageToJetStream(PUBLISH_USER_RESOURCES, userResource); } }