From 4bfc7a33244d5918ea5b6d9649b4b888fe32b8b0 Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Fri, 28 Jan 2022 11:30:15 -0500 Subject: [PATCH] mgr/nfs: fix typo in error message Signed-off-by: John Mulligan (cherry picked from commit 56323a2625133d5a53bf1ee1662346daa1b4f09b) --- src/pybind/mgr/nfs/export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/nfs/export.py b/src/pybind/mgr/nfs/export.py index 0c3053a516d71..85135760813bd 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) -- 2.39.5