diff --git a/nise/__init__.py b/nise/__init__.py index 5e6604d0..1555d212 100644 --- a/nise/__init__.py +++ b/nise/__init__.py @@ -1,4 +1,4 @@ -__version__ = "4.6.9" +__version__ = "4.6.10" VERSION = __version__.split(".") diff --git a/nise/generators/ocp/ocp_generator.py b/nise/generators/ocp/ocp_generator.py index f8501ace..f0a7133e 100644 --- a/nise/generators/ocp/ocp_generator.py +++ b/nise/generators/ocp/ocp_generator.py @@ -289,7 +289,7 @@ def _gen_nodes(self): "name": item.get("node_name", "node_" + self.fake.word()), "cpu_cores": item.get("cpu_cores", randint(2, 16)), "memory_bytes": memory_bytes, - "resource_id": "i-" + resource_id, + "resource_id": "i-" + resource_id if resource_id != "" else resource_id, "namespaces": item.get("namespaces"), "node_labels": item.get("node_labels"), }