Merge "Fix k8s features for pyhton3 support"
This commit is contained in:
commit
567198331c
|
@ -214,8 +214,7 @@ class Transformer(object):
|
||||||
if tosca_kube_obj.labels:
|
if tosca_kube_obj.labels:
|
||||||
if 'selector' in update_label:
|
if 'selector' in update_label:
|
||||||
del update_label['selector']
|
del update_label['selector']
|
||||||
labels = dict(tosca_kube_obj.labels.items() + update_label.items())
|
update_label.update(tosca_kube_obj.labels)
|
||||||
else:
|
|
||||||
labels = update_label
|
labels = update_label
|
||||||
|
|
||||||
# Create and configure a spec section
|
# Create and configure a spec section
|
||||||
|
|
Loading…
Reference in New Issue