From 988e614129f10c080372239b037ea3c07a150d29 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 16 May 2022 09:50:10 +0200 Subject: [PATCH] api types: namespace: fix typo in error message Signed-off-by: Thomas Lamprecht --- pbs-api-types/src/datastore.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbs-api-types/src/datastore.rs b/pbs-api-types/src/datastore.rs index a3435c38..e2bf70aa 100644 --- a/pbs-api-types/src/datastore.rs +++ b/pbs-api-types/src/datastore.rs @@ -632,7 +632,7 @@ impl BackupNamespace { let depth = self.depth(); // check for greater equal to account for the to be added subdir if depth >= MAX_NAMESPACE_DEPTH { - bail!("namespace to deep, {depth} >= max {MAX_NAMESPACE_DEPTH}"); + bail!("namespace too deep, {depth} >= max {MAX_NAMESPACE_DEPTH}"); } if self.len + subdir.len() + 1 > MAX_BACKUP_NAMESPACE_LENGTH {