domain config: prevent a warning being raised because of unexpected value key

This commit is contained in:
Alexandre Aubin 2021-09-17 00:34:44 +02:00
parent 0a404f6d56
commit cfceca581f

View file

@ -438,6 +438,7 @@ class DomainConfigPanel(ConfigPanel):
# FIXME: Ugly hack to save the registar id/value and reinject it in _load_current_values ...
self.registar_id = toml['dns']['registrar']['registrar']['value']
del toml['dns']['registrar']['registrar']['value']
return toml