data_sender
This commit is contained in:
parent
048a8e70ca
commit
625bfc3a89
|
@ -61,7 +61,6 @@ func (ds *DataSender) check() {
|
|||
for _, item := range items {
|
||||
collectedData := item.Value.(*Data)
|
||||
collectedData.AgentId = agentIdentifier()
|
||||
log.Println("collectedData : ", collectedData)
|
||||
result = append(result, collectedData)
|
||||
}
|
||||
|
||||
|
@ -102,7 +101,6 @@ func saveFailedData(datas []*Data) {
|
|||
for _, data := range datas {
|
||||
|
||||
bytes, err := json.Marshal(&data)
|
||||
log.Println("write : ", string(bytes))
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user