A completely empty config is a valid config
This commit is contained in:
@ -74,6 +74,9 @@ class Validator(object):
|
||||
def validate(self, yaml):
|
||||
ret_rv = True
|
||||
ret_msgs = []
|
||||
if not yaml:
|
||||
return ret_rv, ret_msgs
|
||||
|
||||
if self.schema:
|
||||
try:
|
||||
self.logger.debug("Validating against schema %s" % self.schema)
|
||||
|
Reference in New Issue
Block a user