fix(k8s/generated): fix if definition has no options or config

This commit is contained in:
Jaka Hudoklin 2019-03-13 17:59:44 +01:00
parent d55bebd48e
commit ceedfb98c0
No known key found for this signature in database
GPG key ID: 6A08896BFD32BD95
8 changed files with 16 additions and 16 deletions

View file

@ -302,8 +302,8 @@ let
values);
submoduleOf = ref: types.submodule ({name, ...}: {
options = definitions.\"\${ref}\".options;
config = definitions.\"\${ref}\".config;
options = definitions.\"\${ref}\".options or {};
config = definitions.\"\${ref}\".config or {};
});
submoduleWithMergeOf = ref: mergeKey: types.submodule ({name, ...}: let