dockerAll() bug fix
This commit is contained in:
parent
ece3ff2652
commit
bb15a8ce1b
@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page.
|
||||
|
||||
| Version | Date | Comment |
|
||||
| -------------- | -------------- | -------- |
|
||||
| 4.11.5 | 2019-06-19 | `dockerAll()` bug fix |
|
||||
| 4.11.4 | 2019-06-17 | type definitions bug fix |
|
||||
| 4.11.3 | 2019-06-16 | `graphics()` optimization windows |
|
||||
| 4.11.2 | 2019-06-16 | `wifiNetworks()` bug fixes |
|
||||
|
||||
@ -83,6 +83,11 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">4.11.5</th>
|
||||
<td>2019-06-19</td>
|
||||
<td><span class="code">dockerAll()</span> bug fix</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">4.11.4</th>
|
||||
<td>2019-06-17</td>
|
||||
|
||||
@ -168,7 +168,7 @@
|
||||
<img class="logo" src="assets/logo.png">
|
||||
<div class="title">systeminformation</div>
|
||||
<div class="subtitle"><span id="typed"></span></div>
|
||||
<div class="version">Current Version: <span id="version">4.11.4</span></div>
|
||||
<div class="version">Current Version: <span id="version">4.11.5</span></div>
|
||||
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
|
||||
</div>
|
||||
<div class="down">
|
||||
|
||||
@ -532,17 +532,17 @@ function dockerAll(callback) {
|
||||
result.forEach(function (element) {
|
||||
dockerContainerStats(element.id).then(res => {
|
||||
// include stats in array
|
||||
element.mem_usage = res.mem_usage;
|
||||
element.mem_limit = res.mem_limit;
|
||||
element.mem_percent = res.mem_percent;
|
||||
element.cpu_percent = res.cpu_percent;
|
||||
element.pids = res.pids;
|
||||
element.netIO = res.netIO;
|
||||
element.blockIO = res.blockIO;
|
||||
element.cpu_stats = res.cpu_stats;
|
||||
element.precpu_stats = res.precpu_stats;
|
||||
element.memory_stats = res.memory_stats;
|
||||
element.networks = res.networks;
|
||||
element.mem_usage = res[0].mem_usage;
|
||||
element.mem_limit = res[0].mem_limit;
|
||||
element.mem_percent = res[0].mem_percent;
|
||||
element.cpu_percent = res[0].cpu_percent;
|
||||
element.pids = res[0].pids;
|
||||
element.netIO = res[0].netIO;
|
||||
element.blockIO = res[0].blockIO;
|
||||
element.cpu_stats = res[0].cpu_stats;
|
||||
element.precpu_stats = res[0].precpu_stats;
|
||||
element.memory_stats = res[0].memory_stats;
|
||||
element.networks = res[0].networks;
|
||||
|
||||
dockerContainerProcesses(element.id).then(processes => {
|
||||
element.processes = processes;
|
||||
|
||||
@ -37,7 +37,7 @@ const execOptsWin = {
|
||||
windowsHide: true,
|
||||
maxBuffer: 1024 * 2000,
|
||||
encoding: 'UTF-8',
|
||||
env: util._extend(process.env, { LANG: 'en_US.UTF-8' })
|
||||
env: util._extend({}.process.env, { LANG: 'en_US.UTF-8' })
|
||||
};
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user