Bug #58378
closedtox errors
0%
Description
Observed some issues when running tox:
mypy: commands0> mypy --config-file=../../mypy.ini -m alerts -m balancer -m cephadm -m crash -m dashboard -m devicehealth -m diskprediction_local -m hello -m influx -m iostat -m localpool -m mds_autoscaler -m mgr_module -m mgr_util -m mirroring -m nfs -m orchestrator -m pg_autoscaler -m progress -m prometheus -m rbd_support -m rook -m snap_schedule -m selftest -m stats -m status -m telegraf -m telemetry -m test_orchestrator -m volumes -m zabbix -m rgw
mgr_util.py: note: In function "verify_cacrt_content":
mgr_util.py:578: error: Argument 2 to "load_certificate" has incompatible type "str"; expected "bytes"
mgr_util.py:581: error: Item "None" of "Optional[bytes]" has no attribute "decode"
mgr_util.py: note: In function "get_cert_issuer_info":
mgr_util.py:611: error: Argument 2 to "load_certificate" has incompatible type "str"; expected "bytes"
mgr_util.py: note: In function "verify_tls":
mgr_util.py:634: error: Argument 2 to "load_certificate" has incompatible type "str"; expected "bytes"
Updated by Redouane Kachach Elhichou over 1 year ago
- Status changed from New to Fix Under Review
- Pull request ID set to 49635
Updated by Adam King over 1 year ago
- Status changed from Fix Under Review to Resolved