Skip to content

Commit

Permalink
fix version check
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroProfundis committed Dec 29, 2021
1 parent 5ff6761 commit 679c07d
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 @@ -140,7 +140,7 @@ func (i *TiDBInstance) InitConfig(
spec := i.InstanceSpec.(*TiDBSpec)
// check if the tidb version has --initialize-insecure support
hasSecbootSupport := false
if vc := semver.Compare(clusterVersion, "5.3.0"); vc >= 0 {
if vc := semver.Compare(clusterVersion, "v5.3.0"); vc >= 0 {
hasSecbootSupport = true
}
cfg := scripts.
Expand Down

0 comments on commit 679c07d

Please sign in to comment.