Skip to content

Commit

Permalink
Omit empty Template in configuration (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
lawliet89 authored Aug 12, 2020
1 parent 23879d1 commit 00432f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent-inject/agent/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type Config struct {
ExitAfterAuth bool `json:"exit_after_auth"`
PidFile string `json:"pid_file"`
Vault *VaultConfig `json:"vault"`
Templates []*Template `json:"template"`
Templates []*Template `json:"template,omitempty"`
Listener []*Listener `json:"listener,omitempty"`
Cache *Cache `json:"cache,omitempty"`
}
Expand Down

0 comments on commit 00432f7

Please sign in to comment.