From 8ec91f78f36398f8f07d4cccb05c0c42bfaf045e Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Tue, 28 Mar 2023 13:49:21 -0400 Subject: [PATCH] mgr/cephadm: add a type annotation to the ganesha conf template context This change makes this file pass mypy checking on mypy 0.981. Signed-off-by: John Mulligan (cherry picked from commit de9e8094aad0f387f46e7178fca791bc7766ed9a) --- src/pybind/mgr/cephadm/services/nfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/cephadm/services/nfs.py b/src/pybind/mgr/cephadm/services/nfs.py index ee53283bd9c..ad7c442eebd 100644 --- a/src/pybind/mgr/cephadm/services/nfs.py +++ b/src/pybind/mgr/cephadm/services/nfs.py @@ -95,7 +95,7 @@ class NFSService(CephService): # generate the ganesha config def get_ganesha_conf() -> str: - context = { + context: Dict[str, Any] = { "user": rados_user, "nodeid": nodeid, "pool": POOL_NAME, -- 2.47.3