Fix missing JSON tag for labels (#510)
This commit is contained in:
committed by
GitHub
parent
cb6c840776
commit
dd16f6d918
+1
-1
@@ -398,7 +398,7 @@ func createDevLabels(ds kolide.Datastore, config config.KolideConfig) {
|
||||
},
|
||||
},
|
||||
Name: "dev_label_apache",
|
||||
Query: "select * from processes where nae like '%Apache%'",
|
||||
Query: "select * from processes where name like '%Apache%'",
|
||||
},
|
||||
{
|
||||
UpdateCreateTimestamps: kolide.UpdateCreateTimestamps{
|
||||
|
||||
@@ -43,7 +43,7 @@ type LabelService interface {
|
||||
}
|
||||
|
||||
type LabelPayload struct {
|
||||
Name *string
|
||||
Name *string `json:"name"`
|
||||
Query *string `json:"query"`
|
||||
Platform *string `json:"platform"`
|
||||
Description *string `json:"description"`
|
||||
|
||||
Reference in New Issue
Block a user