]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: add type checking to `update_filewalld`
authorMichael Fritch <mfritch@suse.com>
Wed, 4 Mar 2020 22:30:03 +0000 (15:30 -0700)
committerMichael Fritch <mfritch@suse.com>
Thu, 12 Mar 2020 14:09:00 +0000 (08:09 -0600)
commite00bc7a4bc05b20be26441d9795c06a9ef3e4b41
tree9719628ab0aee169bd34dfc060c0060d6945f69a
parentf49d7e2c1e805fb191c24195272353a414b028e5
cephadm: add type checking to `update_filewalld`

fixes mypy errors:
cephadm:1682: error: Incompatible types in assignment (expression has type "str", variable has type "int")
cephadm:1683: error: List item 3 has incompatible type "int"; expected "str"
cephadm:1686: error: List item 3 has incompatible type "int"; expected "str"
Found 3 errors in 1 file (checked 1 source file)

Signed-off-by: Michael Fritch <mfritch@suse.com>
src/cephadm/cephadm