Metaswitch / clearwater-docker

Docker integration for Project Clearwater
Other
41 stars 64 forks source link

Error loading yaml files in python #73

Open AakashKT opened 7 years ago

AakashKT commented 7 years ago

Symptoms

yaml.constructor.ConstructorError: while constructing a mapping in "clearwater-docker/kubernetes/bono-depl.yaml", line 33, column 18 found unacceptable key (unhashable type: 'dict') in "clearwater-docker/kubernetes/bono-depl.yaml", line 33, column 19

Impact

This makes automation using python harder, since yaml files give error on loading.

Release and environment

On Kubernetes

Steps to reproduce

Try to load the "kubernetes/bono-depl.yaml" file in python3, using yaml (import yaml). It will give an error.

Its a small fix, the earlier worked well instead of the new {{BONO_PUBLIC_IP}}, as a placeholder. If its okay, I can submit a pull request reverting back to the old format.

Thanks

AakashKT commented 7 years ago

Hi, any update on this?