Merge pull request #389 from grafuls/development #186
Annotations
2 errors and 5 warnings
/home/runner/work/badfish/badfish/src/badfish/main.py#L648
raw = await _response.text("utf-8", "ignore")
data = json.loads(raw.strip())
except ValueError:
raise BadfishException("Power value outside operating range.")
try:
- cwc = data['PowerControl'][0]['PowerConsumedWatts']
+ cwc = data["PowerControl"][0]["PowerConsumedWatts"]
except IndexError:
cwc = "N/A. Try to `--racreset`."
self.logger.info(f"Current watts consumed: {cwc}")
return
|
/home/runner/work/badfish/badfish/src/badfish/main.py#L648
raw = await _response.text("utf-8", "ignore")
data = json.loads(raw.strip())
except ValueError:
raise BadfishException("Power value outside operating range.")
try:
- cwc = data['PowerControl'][0]['PowerConsumedWatts']
+ cwc = data["PowerControl"][0]["PowerConsumedWatts"]
except IndexError:
cwc = "N/A. Try to `--racreset`."
self.logger.info(f"Current watts consumed: {cwc}")
return
|
build (3.8)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build (3.7)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build (3.9)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build (3.10)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build (3.6)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|