agent/engine/dockerstate/docker_task_engine_state.go
func (state *DockerTaskEngineState) AddTaskIPAddress(addr string, taskARN string) {
	state.lock.Lock()
	defer state.lock.Unlock()

	state.ipToTask[addr] = taskARN
}
func (state *DockerTaskEngineState) AddTaskIPAddress(addr string, taskARN string) {
	state.lock.Lock()
	defer state.lock.Unlock()

	state.ipToTask[addr] = taskARN
}
func ( state * DockerTaskEngineState ) AddTaskIPAddress ( addr string , taskARN string ) { state . lock . Lock ( ) defer state . lock . Unlock ( ) state . ipToTask [ addr ] = taskARN }
// AddTaskIPAddress adds ip adddress for a task arn into the state
AddTaskIPAddress adds ip adddress for a task arn into the state