// FindStageStatus finds the given stage by name in stage status.
FindStageStatus finds the given stage by name in stage status.
// FindStageStatus finds the given stage by name in stage status .
func FindStageStatus(ss []StageStatus, statusName string) *StageStatus {
	for i, s := range ss {
		if s.Name == statusName {
			return &ss[i]
		}
	}
	return nil
}
func FindStageStatus ( ss [ ] StageStatus , statusName string ) * StageStatus { for i , s := range ss { if s . Name == statusName { return & ss [ i ] } } return nil }
FindStageStatus finds the given stage by name in stage status.
FindStageStatus finds the given stage by name in stage status .