]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/nfs: fix typo in error message
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 28 Jan 2022 16:30:15 +0000 (11:30 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 17 Mar 2022 14:03:25 +0000 (10:03 -0400)
Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 56323a2625133d5a53bf1ee1662346daa1b4f09b)

src/pybind/mgr/nfs/export.py

index 0c3053a516d7138f021161ef83829f365421cd1e..85135760813bd1cf1505d553188a320fb2ad1cdb 100644 (file)
@@ -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)