Fix missing JSON tag for labels (#510)

This commit is contained in:
Zachary Wasserman
2016-11-17 16:51:30 -08:00
committed by GitHub
parent cb6c840776
commit dd16f6d918
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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{
+1 -1
View File
@@ -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"`