Skip to content

Commit a66697f

Browse files
paulyufan2Copilot
andauthored
Update cni/network/multitenancy.go
Co-authored-by: Copilot <[email protected]> Signed-off-by: Paul Yu <[email protected]>
1 parent 8a45217 commit a66697f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cni/network/multitenancy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ func (m *Multitenancy) DetermineSnatFeatureOnHost(snatFile, nmAgentSupportedApis
159159
return snatConfig.EnableSnatForDns, snatConfig.EnableSnatOnHost, nil
160160
}
161161

162-
// addDefaultRouteToGateway appends a default route
162+
// addDefaultRoute appends a default route
163163
// to both epInfo and result. Returns error if gwStr is not a valid IP.
164164
func (m *Multitenancy) addDefaultRoute(gwStr string, epInfo *network.EndpointInfo, result *network.InterfaceInfo) error {
165165
gw := net.ParseIP(gwStr)

0 commit comments

Comments
 (0)