Commit 2581ab79 authored by Pierre-Elliott Bécue's avatar Pierre-Elliott Bécue
Browse files

[trigger/service/dhcp] .regen aussi a besoin de check_params

parent 1ba54efa
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment