Merge pull request #1506 from dingyiyi0226/master
Fix empty yaml document error
This commit is contained in:
commit
6c4d917026
@ -68,6 +68,8 @@ def create_from_yaml(
|
||||
failures = []
|
||||
k8s_objects = []
|
||||
for yml_document in yml_document_all:
|
||||
if yml_document is None:
|
||||
continue
|
||||
try:
|
||||
created = create_from_dict(k8s_client, yml_document, verbose,
|
||||
namespace=namespace,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user