From: John Mulligan Date: Fri, 28 Jan 2022 16:30:15 +0000 (-0500) Subject: mgr/nfs: fix typo in error message X-Git-Tag: v16.2.8~67^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4bfc7a33244d5918ea5b6d9649b4b888fe32b8b0;p=ceph.git mgr/nfs: fix typo in error message Signed-off-by: John Mulligan (cherry picked from commit 56323a2625133d5a53bf1ee1662346daa1b4f09b) --- diff --git a/src/pybind/mgr/nfs/export.py b/src/pybind/mgr/nfs/export.py index 0c3053a516d7..85135760813b 100644 --- a/src/pybind/mgr/nfs/export.py +++ b/src/pybind/mgr/nfs/export.py @@ -38,7 +38,7 @@ def export_cluster_checker(func: FuncT) -> FuncT: This method checks if cluster exists """ if kwargs['cluster_id'] not in available_clusters(export.mgr): - return -errno.ENOENT, "", "Cluster does not exists" + return -errno.ENOENT, "", "Cluster does not exist" return func(export, *args, **kwargs) return cast(FuncT, cluster_check)