// Convenience func.  Given a task list, update each URL with the next
// account URL in its list.
Convenience func.  Given a task list, update each URL with the next
account URL in its list.
// Convenience func . Given a task list update each URL with the next // account URL in its list .
func updateAccountURLs(taskList []trsapi.HttpTask, acctIDList []acctID) {
	for jj := 0; jj < len(taskList); jj++ {
		targ := targFromTask(&taskList[jj])
		aid := strconv.Itoa(acctIDList[jj].IDs[acctIDList[jj].index])
		url := dfltProtocol + "://" + targ + acctIDList[jj].baseURL + "/" + aid
		taskList[jj].Request.URL, _ = neturl.Parse(url)
		logger.Tracef("Target %s, trying next URL: '%s' -- '%s'",
			targ, url, taskList[jj].Request.URL.Path)
	}
}
func updateAccountURLs ( taskList [ ] trsapi . HttpTask , acctIDList [ ] acctID ) { for jj := 0 ; jj < len ( taskList ) ; jj ++ { targ := targFromTask ( & taskList [ jj ] ) aid := strconv . Itoa ( acctIDList [ jj ] . IDs [ acctIDList [ jj ] . index ] ) url := dfltProtocol + " " + targ + acctIDList [ jj ] . baseURL + " " + aid taskList [ jj ] . Request . URL , _ = neturl . Parse ( url ) logger . Tracef ( " " , targ , url , taskList [ jj ] . Request . URL . Path ) } }
Convenience func.
Convenience func .