Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-du-car committed Nov 30, 2023
1 parent 691178f commit 9d89744
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion configuration/amd64/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ services:
- db
environment:
- MYSQL_PASSWORD=/run/secrets/mysql_password
- SIMULATION_MODE=true
- INFRASTRUCTURE_ID=rsu_<J2735 MAP MESSAGE INTERSECTION ID>
- INFRASTRUCTURE_NAME=<RSU_NAME>
secrets:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ namespace TelematicBridge
TelematicBridgePlugin::TelematicBridgePlugin(const string &name) : PluginClient(name)
{
_telematicUnitPtr = make_unique<TelematicUnit>();
_unitId = sim::get_sim_config("INFRASTRUCTURE_ID");
_unitName = sim::get_sim_config("INFRASTRUCTURE_NAME");
_unitId = std::getenv("INFRASTRUCTURE_ID");
_unitName = std::getenv("INFRASTRUCTURE_NAME");
UpdateConfigSettings();
AddMessageFilter("*", "*", IvpMsgFlags_None);
AddMessageFilter("J2735", "*", IvpMsgFlags_RouteDSRC);
Expand Down

0 comments on commit 9d89744

Please sign in to comment.