mirror of
https://github.com/ceph/ceph
synced 2025-04-01 14:51:13 +00:00
python-common: fix IngressSpec yaml dump
Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
9dba27edfe
commit
05fdbc8c76
@ -947,6 +947,9 @@ class IngressSpec(ServiceSpec):
|
||||
'Cannot add ingress: No virtual_ip provided')
|
||||
|
||||
|
||||
yaml.add_representer(IngressSpec, ServiceSpec.yaml_representer)
|
||||
|
||||
|
||||
class CustomContainerSpec(ServiceSpec):
|
||||
def __init__(self,
|
||||
service_type: str = 'container',
|
||||
|
Loading…
Reference in New Issue
Block a user