Skip to content

Commit 51ab3f7

Browse files
committed
upgrade golang version to 1.23
1 parent 972b2ec commit 51ab3f7

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

cmd/backup-driver/main.go

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ import (
2222

2323
"github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/cmd"
2424
"github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/cmd/backupdriver"
25+
26+
// enable fips only mode
27+
_ "crypto/tls/fipsonly"
2528
)
2629

2730
func main() {

cmd/data-manager-for-plugin/main.go

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ import (
2424
"github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/cmd/datamgr"
2525

2626
"k8s.io/klog"
27+
28+
// enable fips only mode
29+
_ "crypto/tls/fipsonly"
2730
)
2831

2932
func main() {

cmd/velero-plugin-for-vsphere/main.go

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ import (
2525
plugins_pkg "github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/plugin"
2626
"github.com/vmware-tanzu/velero/pkg/features"
2727
veleroplugin "github.com/vmware-tanzu/velero/pkg/plugin/framework"
28+
29+
// enable fips only mode
30+
_ "crypto/tls/fipsonly"
2831
)
2932

3033
func main() {

0 commit comments

Comments
 (0)