We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc430be commit 0621823Copy full SHA for 0621823
mem3_helper.py
@@ -15,7 +15,7 @@
15
16
def construct_service_record():
17
# Drop our Pod's unique identity and replace with '_couchdb._tcp'
18
- return '.'.join(['_couchdb', '_tcp'] + socket.getfqdn().split('.')[1:])
+ return os.getenv('SRV_RECORD') or '.'.join(['_couchdb', '_tcp'] + socket.getfqdn().split('.')[1:])
19
20
@backoff.on_exception(
21
backoff.expo,
0 commit comments