forked from cerc-io/stack-orchestrator
more oops
This commit is contained in:
parent
240db3ca4c
commit
64b395f15a
@ -103,7 +103,7 @@ class Spec:
|
||||
return self.obj.get(constants.volumes_key, {})
|
||||
|
||||
def get_configmaps(self):
|
||||
return self.obj.get(constants.configmaps_key)
|
||||
return self.obj.get(constants.configmaps_key, {})
|
||||
|
||||
def get_container_resources(self):
|
||||
return Resources(self.obj.get(constants.resources_key, {}).get("containers", {}))
|
||||
|
Loading…
Reference in New Issue
Block a user