Skip to content

Commit

Permalink
[COST-4168] null storage usage (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
maskarb authored Sep 12, 2023
1 parent e1d5050 commit 328b084
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nise/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = "4.4.0"
__version__ = "4.4.1"

VERSION = __version__.split(".")
2 changes: 1 addition & 1 deletion nise/generators/ocp/ocp_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def _gen_pods(self, namespaces):
for namespace, node in namespaces.items():
namespace2pod[namespace] = []
if node.get("namespaces"):
specified_pods = node.get("namespaces").get(namespace).get("pods")
specified_pods = node.get("namespaces").get(namespace).get("pods") or []
for specified_pod in specified_pods:
pod = specified_pod.get("pod_name", self.fake.word())
namespace2pod[namespace].append(pod)
Expand Down

0 comments on commit 328b084

Please sign in to comment.