Skip to content
Snippets Groups Projects
Commit 4ea31b10 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

Add comment about LVAlert failover credentials

parent 60391e62
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,10 @@ def send_with_lvalert_client(node, message, server, username=None,
client_settings = {
'server': server
}
# Username and password should be provided for container deployments.
# For VMs, they won't be, so it will look up the credentials in the
# .netrc file
if username is not None:
client_settings['username'] = username
if password is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment