Skip to content

Commit a71201a

Browse files
committed
fix G101
1 parent 58ebea1 commit a71201a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pkg/util/const.go

-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ const (
142142
InterconnectionSwitch = "ts"
143143
ExternalGatewaySwitch = "ovn-external"
144144
VpcNatGatewayConfig = "ovn-vpc-nat-gw-config"
145-
VpcExternalNet = "ovn-vpc-external-network"
146145
VpcLbNetworkAttachment = "ovn-vpc-lb"
147146
VpcDnsConfig = "vpc-dns-config"
148147
VpcDnsDepTemplate = "vpc-dns-dep"

pkg/util/net.go

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ import (
1616
kubeovnv1 "github.com/kubeovn/kube-ovn/pkg/apis/kubeovn/v1"
1717
)
1818

19+
// #nosec G101
20+
const VpcExternalNet = "ovn-vpc-external-network"
21+
1922
const (
2023
IPv4Multicast = "224.0.0.0/4"
2124
IPv4Loopback = "127.0.0.1/8"

0 commit comments

Comments
 (0)