mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Merge branch 'dev' into Fix-Pylint-no-self-use
This commit is contained in:
commit
44f3b903d4
@ -27,4 +27,3 @@ This checklist encourages us to confirm any changes have been analyzed to reduce
|
|||||||
* [ ] Have you resolved any lint issues?
|
* [ ] Have you resolved any lint issues?
|
||||||
* [ ] Have you assigned a reviewer?
|
* [ ] Have you assigned a reviewer?
|
||||||
* [ ] Have you applied correct labels?
|
* [ ] Have you applied correct labels?
|
||||||
* [ ] Have you updated CHANGELOG.md?
|
|
||||||
|
15
CHANGELOG.md
15
CHANGELOG.md
@ -1,9 +1,18 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## --- [4.0.6] - 2022/07/06
|
## --- [4.0.7] - 2022/07/18
|
||||||
### New features
|
### New features
|
||||||
- Task toggle (!398+)
|
- Task toggle ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/398))
|
||||||
- Basic API for modifying tasks (!398+)
|
- Basic API for modifying tasks ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/398))
|
||||||
|
### Bug fixes
|
||||||
|
- Fixes stats recording for Oracle hosts ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/397))
|
||||||
|
### Tweaks
|
||||||
|
None
|
||||||
|
### Lang
|
||||||
|
None
|
||||||
|
<br><br>
|
||||||
|
|
||||||
|
## --- [4.0.6] - 2022/07/06
|
||||||
### Bug fixes
|
### Bug fixes
|
||||||
- Improve the use of the object oriented architecture ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/400))
|
- Improve the use of the object oriented architecture ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/400))
|
||||||
- Remove redundant path check on backup restore ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/390))
|
- Remove redundant path check on backup restore ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/390))
|
||||||
|
@ -85,7 +85,9 @@ class Stats:
|
|||||||
try:
|
try:
|
||||||
cpu_freq = psutil.cpu_freq()
|
cpu_freq = psutil.cpu_freq()
|
||||||
except NotImplementedError:
|
except NotImplementedError:
|
||||||
cpu_freq = psutil._common.scpufreq(current=0, min=0, max=0)
|
cpu_freq = None
|
||||||
|
if cpu_freq is None:
|
||||||
|
cpu_freq = psutil._common.scpufreq(current=-1, min=-1, max=-1)
|
||||||
memory = psutil.virtual_memory()
|
memory = psutil.virtual_memory()
|
||||||
try:
|
try:
|
||||||
node_stats: NodeStatsDict = {
|
node_stats: NodeStatsDict = {
|
||||||
|
Loading…
Reference in New Issue
Block a user