Fixes golint errors in pkg/api

This commit is contained in:
Yuki Yugui Sonoda
2014-07-15 22:53:39 +09:00
committed by Yuki Sonoda (Yugui)
parent 314eb1ae2d
commit af38bf1ef7
5 changed files with 10 additions and 9 deletions

View File

@@ -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 == "" {