arg_validator: drop wrong default value for ArgValidatorIPRoute

The parameter is not used (neither by callers not the implementation).
It also makes not sense.

Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Thomas Haller 2021-07-15 12:51:46 +02:00 committed by Gris Ge
parent 6e53bcf65f
commit 03833e8ac2

View file

@ -488,7 +488,7 @@ class ArgValidatorIPAddr(ArgValidatorDict):
class ArgValidatorIPRoute(ArgValidatorDict):
def __init__(self, name, family=None, required=False, default_value=None):
def __init__(self, name, family=None, required=False):
ArgValidatorDict.__init__(
self,
name,