Merge pull request #452 from rupinder-syngh/fix/minor-change

fix/minor change
This commit is contained in:
rupinder-syngh
2025-04-08 10:29:31 +05:30
committed by GitHub

View File

@@ -159,7 +159,7 @@ func (m *Manager) SchemaValidator(ctx context.Context, cfg *Config) (definition.
return nil, err
}
if closer != nil {
m.addCloser(func() {
m.closers = append(m.closers, func() {
if err := closer(); err != nil {
panic(err)
}