Merge pull request #452 from rupinder-syngh/fix/minor-change
fix/minor change
This commit is contained in:
@@ -159,7 +159,7 @@ func (m *Manager) SchemaValidator(ctx context.Context, cfg *Config) (definition.
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if closer != nil {
|
if closer != nil {
|
||||||
m.addCloser(func() {
|
m.closers = append(m.closers, func() {
|
||||||
if err := closer(); err != nil {
|
if err := closer(); err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user