Move error for api validation to trace level (#1432)
* remove error on endpoint validation * trace level
This commit is contained in:
parent
c580879955
commit
d5927581d2
@ -144,8 +144,8 @@ func (r *registryRouter) store(services []*registry.Service) {
|
|||||||
|
|
||||||
// if we got nothing skip
|
// if we got nothing skip
|
||||||
if err := api.Validate(end); err != nil {
|
if err := api.Validate(end); err != nil {
|
||||||
if logger.V(logger.ErrorLevel, logger.DefaultLogger) {
|
if logger.V(logger.TraceLevel, logger.DefaultLogger) {
|
||||||
logger.Errorf("endpoint validation failed: %v", err)
|
logger.Tracef("endpoint validation failed: %v", err)
|
||||||
}
|
}
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user