Commit ee4db1d5 authored by mancini's avatar mancini

OSB-96: Fix misplaced core with remote string

parent 90d129bc
...@@ -791,9 +791,9 @@ def _rcu_selection_string(element_id, station_type): ...@@ -791,9 +791,9 @@ def _rcu_selection_string(element_id, station_type):
def detect_station_type(): def detect_station_type():
hostname = socket.gethostname() hostname = socket.gethostname()
if hostname.startswith('RS'): if hostname.startswith('RS'):
station_type = 'core'
elif hostname.startswith('CS'):
station_type = 'remote' station_type = 'remote'
elif hostname.startswith('CS'):
station_type = 'core'
else: else:
station_type = 'international' station_type = 'international'
logger.info('Station type detected is %s', station_type) logger.info('Station type detected is %s', station_type)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment