[trigger/service/dhcp] .regen aussi a besoin de check_params
This commit is contained in:
parent
1ba54efaa9
commit
2581ab7964
1 changed files with 2 additions and 0 deletions
|
@ -69,6 +69,8 @@ class Dhcp(BasicService):
|
|||
"""Regenerates dhcp service taking body into account.
|
||||
|
||||
"""
|
||||
cls.check_params()
|
||||
|
||||
# http://satyajit.ranjeev.in/2012/01/12/python--dangerous-default-value-as-argument.html
|
||||
# dict are referenced.
|
||||
if body is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue