Skip to content

Commit

Permalink
feat(installer): enable logagent default
Browse files Browse the repository at this point in the history
  • Loading branch information
QianChenglong committed Jul 7, 2020
1 parent 17c2509 commit 99c5130
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmd/tke-installer/app/installer/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,7 @@ func (t *TKE) setConfigDefault(config *types.Config) {
}
}

config.Logagent = new(types.Logagent)
}
func (t *TKE) setClusterDefault(cluster *platformv1.Cluster, config *types.Config) {
if cluster.APIVersion == "" {
Expand Down
2 changes: 1 addition & 1 deletion cmd/tke-installer/app/installer/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type Config struct {
Registry Registry `json:"registry"`
Business *Business `json:"business,omitempty"`
Monitor *Monitor `json:"monitor,omitempty"`
Logagent Logagent `json:"logagent,omitempty"`
Logagent *Logagent `json:"logagent,omitempty"`
HA *HA `json:"ha,omitempty"`
Gateway *Gateway `json:"gateway,omitempty"`
Audit *Audit `json:"audit,omitempty"`
Expand Down

0 comments on commit 99c5130

Please sign in to comment.