]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: address mypy errors in disk.py
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 9 Oct 2024 15:00:53 +0000 (15:00 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Wed, 16 Oct 2024 13:42:10 +0000 (13:42 +0000)
commitb5e7008d28a5acd63ea9cd0c6b27f400dad409af
treef50d3f87e59eeb25f517a32df596b448199c7547
parentdd2a150f40fb11abe6bd1ee51bca03419aaa7d7f
ceph-volume: address mypy errors in disk.py

typical error:

```
ceph_volume/util/disk.py:1374: error: Incompatible types in assignment (expression has type "Optional[str]", variable has type "str")  [assignment]
```

This commits addresses it.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/ceph-volume/ceph_volume/util/disk.py