Reject configuration with unknown fields #2981
86.11% of diff hit (target 22.88%)
View this Pull Request on Codecov
86.11% of diff hit (target 22.88%)
Annotations
Check warning on line 77 in cmd/internal/configvalidator/validate.go
codecov / codecov/patch
cmd/internal/configvalidator/validate.go#L76-L77
Added lines #L76 - L77 were not covered by tests
Check warning on line 92 in cmd/internal/configvalidator/validate.go
codecov / codecov/patch
cmd/internal/configvalidator/validate.go#L91-L92
Added lines #L91 - L92 were not covered by tests
Check warning on line 35 in cmd/neofs-ir/defaults.go
codecov / codecov/patch
cmd/neofs-ir/defaults.go#L33-L35
Added lines #L33 - L35 were not covered by tests
Check warning on line 40 in cmd/neofs-ir/defaults.go
codecov / codecov/patch
cmd/neofs-ir/defaults.go#L38-L40
Added lines #L38 - L40 were not covered by tests
Check warning on line 43 in cmd/neofs-ir/defaults.go
codecov / codecov/patch
cmd/neofs-ir/defaults.go#L43
Added line #L43 was not covered by tests
Check warning on line 61 in cmd/neofs-node/config/config.go
codecov / codecov/patch
cmd/neofs-node/config/config.go#L61
Added line #L61 was not covered by tests