more oops

This commit is contained in:
Thomas E Lackey 2024-03-04 23:05:35 -06:00
parent 240db3ca4c
commit 64b395f15a

View File

@ -103,7 +103,7 @@ class Spec:
return self.obj.get(constants.volumes_key, {}) return self.obj.get(constants.volumes_key, {})
def get_configmaps(self): def get_configmaps(self):
return self.obj.get(constants.configmaps_key) return self.obj.get(constants.configmaps_key, {})
def get_container_resources(self): def get_container_resources(self):
return Resources(self.obj.get(constants.resources_key, {}).get("containers", {})) return Resources(self.obj.get(constants.resources_key, {}).get("containers", {}))