File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,5 +20,5 @@ type Matchers struct {
20
20
// "suse"
21
21
// "ubuntu"
22
22
// "crda" - remotematcher calls hosted api via RPC.
23
- Names []string `yaml:"names" json:"names"`
23
+ Names []string `yaml:"names,omitempty " json:"names,omitempty "`
24
24
}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ type Updaters struct {
7
7
// TODO(louis): this is only used in clairctl, should we keep this?
8
8
// it may offer an escape hatch for a particular updater name
9
9
// from running, vs disabling the updater set completely.
10
- Filter string `yaml:"filter" json:"filter"`
10
+ Filter string `yaml:"filter,omitempty " json:"filter,omitempty "`
11
11
// Config holds configuration blocks for UpdaterFactories and Updaters,
12
12
// keyed by name.
13
13
//
You can’t perform that action at this time.
0 commit comments