code: func (state *DockerTaskEngineState) AddENIAttachment(eniAttachment *apieni.ENIAttachment) {
  	if eniAttachment == nil {
  		log.Debug("Cannot add empty eni attachment information")
  		return
  	}
  
  	state.lock.Lock()
  	defer state.lock.Unlock()
  
  	if _, ok := state.eniAttachments[eniAttachment.MACAddress]; !ok {
  		state.eniAttachments[eniAttachment.MACAddress] = eniAttachment
  	} else {
  		seelog.Debugf("Duplicate eni attachment information: %v", eniAttachment)
  	}
  
  }
docs: // AddENIAttachment adds the eni into the state