From 729fb3df92fa24f9482769aae37cd19092639bc9 Mon Sep 17 00:00:00 2001 From: Matthias Veit Date: Mon, 30 Oct 2023 14:06:16 +0100 Subject: [PATCH] [resotoworker][fix] Do not use the name to compute resource identifier --- resotolib/resotolib/baseresources.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/resotolib/resotolib/baseresources.py b/resotolib/resotolib/baseresources.py index 8d1df13ad4..a0b9f51c5f 100644 --- a/resotolib/resotolib/baseresources.py +++ b/resotolib/resotolib/baseresources.py @@ -196,15 +196,7 @@ def _keys(self) -> Tuple[Any, ...]: """ if self._graph is None: raise RuntimeError(f"_keys() called on {self.rtdname} before resource was added to graph") - return ( - self.kind, - self.cloud().id, - self.account().id, - self.region().id, - self.zone().id, - self.id, - self.name, - ) + return self.kind, self.cloud().id, self.account().id, self.region().id, self.zone().id, self.id @property def safe_name(self) -> str: