Skip to content

Commit ae4722c

Browse files
committed
small fixes related to README and tests
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
1 parent 394d9cf commit ae4722c

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ zeronsd unsupervise 36579ad8f6a82ad3
108108
systemctl daemon-reload
109109
```
110110

111+
### Logging
112+
113+
Set `ZERONSD_LOG` or `RUST_LOG` to various log levels or other parameters according to the [env_logger](https://crates.io/crates/env_logger) specification for more.
114+
111115
### Docker
112116

113117
Running in docker is a little more complicated. You must be able to have a network interface you can import (joined a network) and must be able to reach `localhost:9999` on the host. At this time, for brevity's sake we are recommending running with `--net=host` until we have more time to investigate a potentially more secure solution.

tests/service.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,12 @@ impl TestNetwork {
302302
tokio::runtime::Handle::current().block_on(async {
303303
self.leave().await.unwrap();
304304
let central = self.central();
305-
zerotier_central_api::apis::network_api::delete_network(&central, &self.identity())
306-
.await
307-
.unwrap_err();
305+
zerotier_central_api::apis::network_api::delete_network(
306+
&central,
307+
&self.network.id.clone().unwrap(),
308+
)
309+
.await
310+
.unwrap();
308311
})
309312
})
310313
}

0 commit comments

Comments
 (0)