Skip to content

Commit

Permalink
Fix peering address environment variable assignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
kishorenc committed Jul 14, 2021
1 parent 8c94b48 commit cea20b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ class Config {
}

if(!get_env("TYPESENSE_PEERING_ADDRESS").empty()) {
this->api_address = get_env("TYPESENSE_PEERING_ADDRESS");
this->peering_address = get_env("TYPESENSE_PEERING_ADDRESS");
}

if(!get_env("TYPESENSE_PEERING_PORT").empty()) {
Expand Down

0 comments on commit cea20b4

Please sign in to comment.