(spaceName string, orgGUID string, feature string)
| 34 | } |
| 35 | |
| 36 | func (actor Actor) GetSpaceFeature(spaceName string, orgGUID string, feature string) (bool, Warnings, error) { |
| 37 | var allWarnings Warnings |
| 38 | |
| 39 | space, warnings, err := actor.GetSpaceByNameAndOrganization(spaceName, orgGUID) |
| 40 | allWarnings = append(allWarnings, warnings...) |
| 41 | if err != nil { |
| 42 | return false, allWarnings, err |
| 43 | } |
| 44 | |
| 45 | enabled, ccv3Warnings, err := actor.CloudControllerClient.GetSpaceFeature(space.GUID, feature) |
| 46 | allWarnings = append(allWarnings, Warnings(ccv3Warnings)...) |
| 47 | |
| 48 | return enabled, allWarnings, err |
| 49 | } |
nothing calls this directly
no test coverage detected