We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb20f33 commit 19dd0caCopy full SHA for 19dd0ca
pkg/fips/fips.go
@@ -19,10 +19,4 @@ package fips
19
import (
20
// Restricts all TLS configuration to FIPS-approved settings
21
_ "crypto/tls/fipsonly"
22
-
23
- "github.com/pingcap/tidb-operator/pkg/version"
24
)
25
26
-func init() {
27
- version.SetVersionSuffix("-fips")
28
-}
pkg/version/version.go
@@ -28,11 +28,6 @@ var (
buildDate = "1970-01-01T00:00:00Z" // build date in ISO8601 format, output of $(date -u +'%Y-%m-%dT%H:%M:%SZ')
29
30
31
-// SetVersionSuffix sets version suffix.
32
-func SetVersionSuffix(suffix string) {
33
- gitVersion += suffix
34
35
36
// PrintVersionInfo show version info to Stdout
37
func PrintVersionInfo() {
38
fmt.Printf("TiDB Operator Version: %#v\n", Get())
0 commit comments