mirror of
https://github.com/ohwgiles/laminar.git
synced 2024-10-27 20:34:20 +00:00
laminarc: read LAMINAR_BIND_RPC
This commit is contained in:
parent
b7644494fc
commit
0b9fb54b02
@ -77,7 +77,7 @@ int main(int argc, char** argv) {
|
||||
}
|
||||
|
||||
int ret = 0;
|
||||
const char* address = getenv("LAMINAR_HOST") ?: "unix-abstract:laminar";
|
||||
const char* address = getenv("LAMINAR_HOST") ?: getenv("LAMINAR_BIND_RPC") ?: "unix-abstract:laminar";
|
||||
|
||||
capnp::EzRpcClient client(address);
|
||||
LaminarCi::Client laminar = client.getMain<LaminarCi>();
|
||||
|
Loading…
Reference in New Issue
Block a user