Skip to content

Commit

Permalink
added docs, removed dockerode interface from tc-node api
Browse files Browse the repository at this point in the history
  • Loading branch information
NuShoSinkuPomogliTebeTvoiSankcii committed Nov 22, 2023
1 parent 7fbabff commit ebfc95e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/features/containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ Also you can pass `{ since?: number }` (UNIX timestamp) option to stream logs fr
```javascript
const msInSec = 1000;
const tenSecondsAgoMs = new Date().getTime() - 10 * msInSec;
const since = tenSecondsAgo / msInSec;
const since = tenSecondsAgoMs / msInSec;

(await container.logs({since}))
.on("data", line => console.log(line))
Expand Down

0 comments on commit ebfc95e

Please sign in to comment.