Skip to content

Commit

Permalink
fix: add json tags for scope (#907)
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra authored Jul 11, 2024
1 parent 917a7ec commit 0ae0a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/resource_selector.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type ResourceSelector struct {
// Example: For config items, the scope is the scraper id
// - for checks, it's canaries and
// - for components, it's topology.
Scope string
Scope string `yaml:"scope,omitempty" json:"scope,omitempty"`

// Cache directives
// 'no-cache' (should not fetch from cache but can be cached)
Expand Down

0 comments on commit 0ae0a34

Please sign in to comment.