[#302] Fix exhaustive linter errors

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-01-11 18:15:16 +03:00 committed by Alex Vanin
parent 04c0c1b8f5
commit 7e30b0b9c8
2 changed files with 6 additions and 0 deletions

View file

@ -157,6 +157,8 @@ func (v *FormatValidator) ValidateContent(o *Object) error {
return errors.Errorf("(%T) empty member in SG", v)
}
}
default:
return errors.Errorf("(%T) unsupported object type %s", v, o.Type())
}
return nil