Skip to content

Commit 19dd0ca

Browse files
authored
fips: adjust version suffix (#5514)
Signed-off-by: Neil Shen <[email protected]>
1 parent cb20f33 commit 19dd0ca

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

pkg/fips/fips.go

-6
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,4 @@ package fips
1919
import (
2020
// Restricts all TLS configuration to FIPS-approved settings
2121
_ "crypto/tls/fipsonly"
22-
23-
"github.com/pingcap/tidb-operator/pkg/version"
2422
)
25-
26-
func init() {
27-
version.SetVersionSuffix("-fips")
28-
}

pkg/version/version.go

-5
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ var (
2828
buildDate = "1970-01-01T00:00:00Z" // build date in ISO8601 format, output of $(date -u +'%Y-%m-%dT%H:%M:%SZ')
2929
)
3030

31-
// SetVersionSuffix sets version suffix.
32-
func SetVersionSuffix(suffix string) {
33-
gitVersion += suffix
34-
}
35-
3631
// PrintVersionInfo show version info to Stdout
3732
func PrintVersionInfo() {
3833
fmt.Printf("TiDB Operator Version: %#v\n", Get())

0 commit comments

Comments
 (0)