Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

Commit

Permalink
Make TLP a pointer in filetask too
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyaglow committed May 29, 2018
1 parent 25f24e8 commit 4c242ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion job.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type FileTask struct {
// FileTaskMeta represents meta data of the file observable
type FileTaskMeta struct {
DataType string `json:"dataType"`
TLP int `json:"tlp"`
TLP *int `json:"tlp,omitempty"`
}

// Type usually returns just "file" for a file task
Expand Down

0 comments on commit 4c242ac

Please sign in to comment.