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
Fix: Add support for DAPR_RUNTIME_HOST in Setrtings.getDefaultHost()
Problem:
getDefaultHttpPort() already respected DAPR_HTTP_PORT however, settings.getDefaultHost() did not use DAPR_RUNTIME_HOST
Solution: (closes Custom sidecar port
Fixes#646)
-Added DAPR_RUNTIME_HOST env variable support to Settings.getDefaultHost()
Now users can set both DAPR_RUNTIME_HOST and DAPR_HTTP_PORT to fully control where client connects
Tests:
Created new dedicated test file for env mutations, so as to not mix up jest.isolateModules and top level Settings import
Signed-off-by: mnothman <[email protected]>
0 commit comments