From fd0a3148955790c988dd21b9b6be3cdec15d1223 Mon Sep 17 00:00:00 2001 From: Nicolas Mahe Date: Tue, 25 Jun 2019 21:46:10 +0700 Subject: [PATCH] Fix error returned in service_validation --- service/service_validate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/service_validate.go b/service/service_validate.go index 12ddafcfd..388821c8d 100644 --- a/service/service_validate.go +++ b/service/service_validate.go @@ -81,7 +81,7 @@ func ValidateService(service *Service) error { } } } - return errs + return errs.ErrorOrNil() } func newValidator() (*validator.Validate, ut.Translator) {