Small improvement in preprod instance detection
Code running in my development container
socket.gethostbyname_ex('etf-atlas-preprod')
throws socket.gaierror
exception while running outside cern.ch.
Attempt to improve this code.
Code running in my development container
socket.gethostbyname_ex('etf-atlas-preprod')
throws socket.gaierror
exception while running outside cern.ch.
Attempt to improve this code.