From cf00ae8948c5cd83210cfdcc8dc540d3157b1f85 Mon Sep 17 00:00:00 2001 From: Morten Lied Johansen Date: Wed, 20 Nov 2024 13:57:55 +0100 Subject: [PATCH] Fix doc-links in pokes --- aiven_poke/slack/topics.py | 4 ++-- aiven_poke/slack/users.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aiven_poke/slack/topics.py b/aiven_poke/slack/topics.py index 270bea2..f89545a 100644 --- a/aiven_poke/slack/topics.py +++ b/aiven_poke/slack/topics.py @@ -3,8 +3,8 @@ from .payload import Text, TextType, Payload, Attachment, Color, Header, TextSection, FieldsSection -CREATE_DOC = "https://doc.nais.io/persistence/kafka/manage_topics/#creating-topics-and-defining-access" -PERMA_DELETE_DOC = "https://doc.nais.io/persistence/kafka/manage_topics/#permanently-deleting-topic-and-data" +CREATE_DOC = "https://doc.nais.io/persistence/kafka/how-to/create/" +PERMA_DELETE_DOC = "https://doc.nais.io/persistence/kafka/how-to/delete/" MAIN_HEADER = "Your team has topics on Aiven which are not found in a nais cluster" WHAT_IS_THIS = " ".join(textwrap.dedent(""" Topics on Aiven should be defined by a Topic resource in a nais cluster. diff --git a/aiven_poke/slack/users.py b/aiven_poke/slack/users.py index 39ec2e7..f18811b 100644 --- a/aiven_poke/slack/users.py +++ b/aiven_poke/slack/users.py @@ -3,7 +3,7 @@ from .payload import Payload, Attachment, Color, Header, Text, TextType, TextSection from ..models import ExpiringUser -RENEW_DOC = "https://doc.nais.io/how-to-guides/persistence/kafka/renew-credentials-for-non-nais/" +RENEW_DOC = "https://doc.nais.io/persistence/kafka/how-to/renew-credentials-for-non-nais/" FALLBACK = " ".join(textwrap.dedent("""\ Your team has users with expiring credentials in the {main_project} pool, defined in {cluster_name}.