We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8833963 + 27a59d1 commit 7bfd858Copy full SHA for 7bfd858
1 file changed
rootfs/api/models/__init__.py
@@ -88,7 +88,7 @@ def _save_service_config(self, app, component, data):
88
component = "%s.deis.io/" % component
89
90
# add component to data and flatten
91
- data = {"%s%s" % (component, key): value for key, value in list(data.items())}
+ data = {"%s%s" % (component, key): value for key, value in list(data.items()) if value}
92
svc['metadata']['annotations'].update(morph.flatten(data))
93
94
# Update the k8s service for the application with new service information
0 commit comments