undo log lines
This commit is contained in:
+2
-3
@@ -1348,8 +1348,7 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes=[]):
|
|||||||
'PROXY_ENABLE_BASIC_AUTH': True,
|
'PROXY_ENABLE_BASIC_AUTH': True,
|
||||||
'WEB_UI_CONFIG': '/drone/src/tests/config/drone/ocis-config.json',
|
'WEB_UI_CONFIG': '/drone/src/tests/config/drone/ocis-config.json',
|
||||||
'IDP_IDENTIFIER_REGISTRATION_CONF': '/drone/src/tests/config/drone/identifier-registration.yml',
|
'IDP_IDENTIFIER_REGISTRATION_CONF': '/drone/src/tests/config/drone/identifier-registration.yml',
|
||||||
'OCIS_LOG_LEVEL': 'debug',
|
'OCIS_LOG_LEVEL': 'warn',
|
||||||
'OCIS_LOG_PRETTY': 'true',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Pass in "default" accounts_hash_difficulty to not set this environment variable.
|
# Pass in "default" accounts_hash_difficulty to not set this environment variable.
|
||||||
@@ -1377,7 +1376,7 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes=[]):
|
|||||||
'image': 'thegeeklab/wait-for:latest',
|
'image': 'thegeeklab/wait-for:latest',
|
||||||
'pull': 'always',
|
'pull': 'always',
|
||||||
'commands': [
|
'commands': [
|
||||||
'wait-for ocis-server:9200 -t 300 && sleep 5',
|
'wait-for ocis-server:9200 -t 300',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -110,10 +110,6 @@ func NewMultiHostReverseProxy(opts ...Option) *MultiHostReverseProxy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (p *MultiHostReverseProxy) directorSelectionDirector(r *http.Request) {
|
func (p *MultiHostReverseProxy) directorSelectionDirector(r *http.Request) {
|
||||||
p.logger.Info().
|
|
||||||
Str("request", r.URL.Path).
|
|
||||||
Msg("%%%%%%%%%%%%% DIRECTING %%%%%%%%%%%%%%%%")
|
|
||||||
|
|
||||||
pol, err := p.PolicySelector(r.Context(), r)
|
pol, err := p.PolicySelector(r.Context(), r)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
p.logger.Error().Msgf("Error while selecting pol %v", err)
|
p.logger.Error().Msgf("Error while selecting pol %v", err)
|
||||||
|
|||||||
Reference in New Issue
Block a user