Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudkov committed Dec 25, 2023
1 parent b486182 commit 9c21aed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/takreplay/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,11 @@ func readFile(f *os.File, uid, typ string, dmp Dumper) error {
continue
}

d, err := cot.DetailsFromString(m.GetCotEvent().GetDetail().GetXmlDetail())
msg, err := cot.CotFromProto(m, "", "")
if err != nil {
return err
}

msg := &cot.CotMessage{TakMessage: m, Detail: d}
if err = dmp.Process(msg); err != nil {
return err
}
Expand Down

0 comments on commit 9c21aed

Please sign in to comment.