We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a4a443 commit 74eb155Copy full SHA for 74eb155
charts/maestro-agent/templates/pubsub-init-hook.yaml
@@ -50,15 +50,6 @@ spec:
50
subscriber = pubsub_v1.SubscriberClient()
51
publisher = pubsub_v1.PublisherClient()
52
53
- # Extract topic names from full resource paths
54
- # If using full paths like "projects/my-project/topics/sourceevents"
55
- # we need to extract just the topic name
56
- def extract_topic_name(topic_path):
57
- if topic_path.startswith('projects/'):
58
- # Full resource path: projects/PROJECT_ID/topics/TOPIC_NAME
59
- return topic_path.split('/')[-1]
60
- return topic_path
61
-
62
subscriptions = [
63
(
64
f'sourceevents-{consumer_name}',
0 commit comments