()
| 29 | } |
| 30 | |
| 31 | func (req *domainAPIRequirement) Execute() error { |
| 32 | var apiErr error |
| 33 | req.domain, apiErr = req.domainRepo.FindByNameInOrg(req.name, req.config.OrganizationFields().GUID) |
| 34 | |
| 35 | if apiErr != nil { |
| 36 | return apiErr |
| 37 | } |
| 38 | |
| 39 | return nil |
| 40 | } |
| 41 | |
| 42 | func (req *domainAPIRequirement) GetDomain() models.DomainFields { |
| 43 | return req.domain |
nothing calls this directly
no test coverage detected