diff options
author | Mathew McBride <matt@traverse.com.au> | 2022-11-13 07:09:20 +0000 |
---|---|---|
committer | Martin Böh <martin@familie-boeh.de> | 2023-01-26 02:46:04 +0100 |
commit | 03377bf973894e2959d937dfe90919ddce0868d6 (patch) | |
tree | 8835ee29d0c851ecc0702d900fd9ba2a8d5cb037 /sonar-project.properties | |
parent | 7634e16dcaaf4e08dec8bd9b92c6e731c32ef7cd (diff) | |
download | vyos-1x-03377bf973894e2959d937dfe90919ddce0868d6.tar.gz vyos-1x-03377bf973894e2959d937dfe90919ddce0868d6.zip |
T4956: fix 'show hardware cpu' issue on arm64
Traceback (most recent call last):
File "/usr/libexec/vyos/op_mode/cpu.py", line 76, in <module>
res = vyos.opmode.run(sys.modules[__name__])
File "/usr/lib/python3/dist-packages/vyos/opmode.py", line 200, in run
res = func(**args)
File "/usr/libexec/vyos/op_mode/cpu.py", line 58, in show
cpu_data = _get_raw_data()
File "/usr/libexec/vyos/op_mode/cpu.py", line 40, in _get_raw_data
return vyos.cpu.get_cpus()
File "/usr/lib/python3/dist-packages/vyos/cpu.py", line 83, in get_cpus
cpus_dict = _find_physical_cpus()
File "/usr/lib/python3/dist-packages/vyos/cpu.py", line 76, in _find_physical_cpus
phys_cpus[num] = cpu[num]
NameError: name 'cpu' is not defined
Co-authored By: MartB <contact@martb.dev>
Diffstat (limited to 'sonar-project.properties')
0 files changed, 0 insertions, 0 deletions