// Remove targets which failed an operation from a task list.
//
// inList: List of tasks to check
// Return: List of target names that are still viable.
Remove targets which failed an operation from a task list.

List of tasks to check
Return: List of target names that are still viable.
// Remove targets which failed an operation from a task list . // // inList : List of tasks to check // Return : List of target names that are still viable .
func removeBadTargs(inList []trsapi.HttpTask) []string {
	var rtargs []string
	for ii := 0; ii < len(inList); ii++ {
		ecode := getStatusCode(&inList[ii])
		if statusCodeOK(ecode) {
			rtargs = append(rtargs, targFromTask(&inList[ii]))
		}
	}
	return rtargs
}
func removeBadTargs ( inList [ ] trsapi . HttpTask ) [ ] string { var rtargs [ ] string for ii := 0 ; ii < len ( inList ) ; ii ++ { ecode := getStatusCode ( & inList [ ii ] ) if statusCodeOK ( ecode ) { rtargs = append ( rtargs , targFromTask ( & inList [ ii ] ) ) } } return rtargs }
Remove targets which failed an operation from a task list.
Remove targets which failed an operation from a task list .