From db8a7c94852ed99fdfcc189792e8bdb8fa13409f Mon Sep 17 00:00:00 2001 From: Malte Sander Date: Thu, 17 Oct 2024 10:07:05 +0200 Subject: [PATCH] add note --- crates/stackable-operator/src/utils/cluster_domain.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/stackable-operator/src/utils/cluster_domain.rs b/crates/stackable-operator/src/utils/cluster_domain.rs index 5c878e20..0dd3cc1e 100644 --- a/crates/stackable-operator/src/utils/cluster_domain.rs +++ b/crates/stackable-operator/src/utils/cluster_domain.rs @@ -123,6 +123,8 @@ where // NOTE (@Techassi): This is really sad and bothers me more than I would like to admit. This // clone could be removed by using the code directly in the calling function. But that would // remove the possibility to easily test the parsing. + // NOTE (@maltesander): This is only executed once at the start of the operator, so we can + // can live with that performance reduction :-) Ok(shortest_entry.to_owned()) }