Skip to content

Commit

Permalink
br,tidb,lightning: remove 'fips' suffix on version (#49655)
Browse files Browse the repository at this point in the history
close #49771
  • Loading branch information
tiancaiamao authored Dec 25, 2023
1 parent a8a7525 commit d844553
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 33 deletions.
10 changes: 1 addition & 9 deletions br/cmd/br/fips.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,4 @@

package main

import (
_ "crypto/tls/fipsonly"

"github.com/pingcap/tidb/br/pkg/version/build"
)

func init() {
build.ReleaseVersion += "-fips"
}
import _ "crypto/tls/fipsonly"
10 changes: 1 addition & 9 deletions br/cmd/tidb-lightning-ctl/fips.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,4 @@

package main

import (
_ "crypto/tls/fipsonly"

"github.com/pingcap/tidb/br/pkg/version/build"
)

func init() {
build.ReleaseVersion += "-fips"
}
import _ "crypto/tls/fipsonly"
10 changes: 1 addition & 9 deletions br/cmd/tidb-lightning/fips.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,4 @@

package main

import (
_ "crypto/tls/fipsonly"

"github.com/pingcap/tidb/br/pkg/version/build"
)

func init() {
build.ReleaseVersion += "-fips"
}
import _ "crypto/tls/fipsonly"
6 changes: 0 additions & 6 deletions cmd/tidb-server/fips.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,3 @@
package main

import _ "crypto/tls/fipsonly"

import "github.com/pingcap/tidb/pkg/parser/mysql"

func init() {
mysql.TiDBReleaseVersion += "-fips"
}

0 comments on commit d844553

Please sign in to comment.