Skip to content

Commit 0f4df4e

Browse files
authored
fix: Update discovery struct to match with package-spec (#28)
1 parent b23ca3a commit 0f4df4e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fleetpkg.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,10 @@ type Discovery struct {
187187
Fields []struct {
188188
Name string `json:"name,omitempty" yaml:"name,omitempty"` // Name of the field.
189189
} `json:"fields,omitempty" yaml:"fields,omitempty"`
190+
// List of the datasets this package can be used with.
191+
Datasets []struct {
192+
Name string `json:"name,omitempty" yaml:"name,omitempty"` // Name of the dataset.
193+
} `json:"datasets,omitempty" yaml:"datasets,omitempty"`
190194
}
191195

192196
type ElasticsearchRequirements struct {

0 commit comments

Comments
 (0)