Fixes golint errors in pkg/api
This commit is contained in:

committed by
Yuki Sonoda (Yugui)

parent
314eb1ae2d
commit
af38bf1ef7
@@ -247,6 +247,7 @@ func ValidateManifest(manifest *ContainerManifest) []error {
|
||||
return []error(allErrs)
|
||||
}
|
||||
|
||||
// ValidateService tests if required fields in the service are set.
|
||||
func ValidateService(service *Service) []error {
|
||||
allErrs := errorList{}
|
||||
if service.ID == "" {
|
||||
|
Reference in New Issue
Block a user