From 6f849b75d9c1aa94a4454d8ca8be9a614c1849ca Mon Sep 17 00:00:00 2001 From: Andrej Vano Date: Tue, 29 Nov 2022 14:11:57 +0100 Subject: [PATCH] [Telegram] Fix autoservice definition --- .../software/tnb/telegram/resource/local/LocalTelegram.java | 2 +- .../tnb/telegram/resource/openshift/OpenshiftTelegram.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/system-x/services/telegram/src/main/java/software/tnb/telegram/resource/local/LocalTelegram.java b/system-x/services/telegram/src/main/java/software/tnb/telegram/resource/local/LocalTelegram.java index 672fa6b60..e893e1a91 100644 --- a/system-x/services/telegram/src/main/java/software/tnb/telegram/resource/local/LocalTelegram.java +++ b/system-x/services/telegram/src/main/java/software/tnb/telegram/resource/local/LocalTelegram.java @@ -10,7 +10,7 @@ import java.io.IOException; -@AutoService(LocalTelegram.class) +@AutoService(Telegram.class) public class LocalTelegram extends Telegram implements Deployable { private static final Logger LOG = LoggerFactory.getLogger(LocalTelegram.class); diff --git a/system-x/services/telegram/src/main/java/software/tnb/telegram/resource/openshift/OpenshiftTelegram.java b/system-x/services/telegram/src/main/java/software/tnb/telegram/resource/openshift/OpenshiftTelegram.java index 31f5a818d..4e3615890 100644 --- a/system-x/services/telegram/src/main/java/software/tnb/telegram/resource/openshift/OpenshiftTelegram.java +++ b/system-x/services/telegram/src/main/java/software/tnb/telegram/resource/openshift/OpenshiftTelegram.java @@ -26,7 +26,7 @@ import io.fabric8.openshift.api.model.ImageStream; import io.fabric8.openshift.api.model.ImageStreamBuilder; -@AutoService(OpenshiftTelegram.class) +@AutoService(Telegram.class) public class OpenshiftTelegram extends Telegram implements OpenshiftDeployable, WithName { private static final Logger LOG = LoggerFactory.getLogger(OpenshiftTelegram.class);