Skip to content

Commit

Permalink
Merge pull request #2028 from clonemycode/main
Browse files Browse the repository at this point in the history
chore: fix function names
  • Loading branch information
russellb authored May 10, 2024
2 parents 3a8821d + 1a209d8 commit 4f10b81
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion integration-tests/kube_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func TestStoreStateInKubeFileSystem(t *testing.T) {

}

// TestProxyEgress tests that nexd proxy can be used with a single egress rule
// TestStoreStateInKubeSecrets tests that nexd proxy can be used with a single egress rule
func TestStoreStateInKubeSecrets(t *testing.T) {
t.Parallel()
helper := NewHelper(t)
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func TestProxyEgressUDP(t *testing.T) {
wg.Wait()
}

// TestProxyEgress tests that nexd proxy can be used with multiple egress rules
// TestProxyEgressMultipleRules tests that nexd proxy can be used with multiple egress rules
func TestProxyEgressMultipleRules(t *testing.T) {
t.Parallel()
helper := NewHelper(t)
Expand Down Expand Up @@ -787,7 +787,7 @@ type testProxyLoadBalancerOpts struct {
flag string
}

// TestProxyEgress tests that nexd proxy can load balance between multiple egress rules on the same listen port
// testProxyLoadBalancer tests that nexd proxy can load balance between multiple egress rules on the same listen port
func testProxyLoadBalancer(t *testing.T, opts testProxyLoadBalancerOpts) {

t.Parallel()
Expand Down
2 changes: 1 addition & 1 deletion internal/nexodus/exit_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func nfAddExitSrcDestPortMangleRule(logger *zap.SugaredLogger, proto string, por
return nil
}

// nfAddExitSrcDestPortMangleRule adds a rule to the nftables mangle (alter) table that
// nfAddExitSrcApiServerOOBMangleRule adds a rule to the nftables mangle (alter) table that
// sets the mark 0x4B66 for OOB (out of band) packets sent to a specific port.
func nfAddExitSrcApiServerOOBMangleRule(logger *zap.SugaredLogger, proto, apiServer string, port int) error {
if _, err := policyCmd(logger, []string{"add", "rule", "inet", nfOobMangleTable, "OUTPUT", "ip", "daddr", apiServer,
Expand Down

0 comments on commit 4f10b81

Please sign in to comment.