Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
djshow832 committed Jun 27, 2024
1 parent c0b3a65 commit fbfca8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/spec/tidb.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func (i *TiDBInstance) InitConfig(

// setTiProxyConfig sets tiproxy session certs
func (i *TiDBInstance) setTiProxyConfig(ctx context.Context, topo *Specification, version string, configs map[string]any, paths meta.DirPaths) (map[string]any, error) {
if len(topo.TiProxyServers) <= 0 || !tidbver.TiDBSupportTiproxy(version) {
if len(topo.TiProxyServers) == 0 || !tidbver.TiDBSupportTiproxy(version) {
return configs, nil
}
if configs == nil {
Expand Down

0 comments on commit fbfca8f

Please sign in to comment.