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 <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2023-03-28 13:49:21 -04:00
parent 8bf4784c5a
commit de9e8094aa

View File

@ -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,