You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When identifying the host and updating site.hub, site_config.get_config checks for the given site_host, the hostname of the computer, or 'localhost' in the site config file. Use of 'localhost' in the SCF should be discouraged.
'localhost' should be replace with some unique wildcard string, i.e. '*default*', and a warning should be issued when it's used. The idea being that if you know the hostname, that should be configured in the SCF. Else, you're probably using this wildcard for some local testing on a single node.
The text was updated successfully, but these errors were encountered:
When identifying the host and updating
site.hub
,site_config.get_config
checks for the givensite_host
, the hostname of the computer, or 'localhost' in the site config file. Use of 'localhost' in the SCF should be discouraged.This is done here:
ocs/ocs/site_config.py
Line 445 in 0709db2
'localhost'
should be replace with some unique wildcard string, i.e.'*default*'
, and a warning should be issued when it's used. The idea being that if you know the hostname, that should be configured in the SCF. Else, you're probably using this wildcard for some local testing on a single node.The text was updated successfully, but these errors were encountered: