Skip to content

Commit

Permalink
Merge bcd2516 into f36051a
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-GrunbergerCA committed Nov 23, 2023
2 parents f36051a + bcd2516 commit 9246d78
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"node-agent/pkg/applicationprofilemanager"
applicationprofilemanagerv1 "node-agent/pkg/applicationprofilemanager/v1"
"node-agent/pkg/config"
"node-agent/pkg/containerwatcher/dnsmanager"
"node-agent/pkg/containerwatcher/v1"
"node-agent/pkg/dnsmanager"
"node-agent/pkg/filehandler/v1"
"node-agent/pkg/networkmanager"
"node-agent/pkg/relevancymanager"
Expand Down
2 changes: 1 addition & 1 deletion pkg/containerwatcher/v1/container_watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"node-agent/pkg/applicationprofilemanager"
"node-agent/pkg/config"
"node-agent/pkg/containerwatcher"
"node-agent/pkg/containerwatcher/dnsmanager"
"node-agent/pkg/dnsmanager"
"node-agent/pkg/networkmanager"
"node-agent/pkg/relevancymanager"
"node-agent/pkg/utils"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/networkmanager/network_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"errors"
"fmt"
"node-agent/pkg/config"
"node-agent/pkg/containerwatcher/dnsmanager"
"node-agent/pkg/dnsmanager"
"node-agent/pkg/k8sclient"
"node-agent/pkg/storage"
"node-agent/pkg/utils"
Expand Down
4 changes: 1 addition & 3 deletions pkg/networkmanager/network_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"
"node-agent/pkg/config"
"node-agent/pkg/containerwatcher/dnsmanager"
"node-agent/pkg/dnsmanager"
"testing"

_ "embed"
Expand Down Expand Up @@ -805,7 +805,6 @@ func TestGenerateNetworkNeighborsEntries(t *testing.T) {
if ingress.Identifier == expectedIngress.Identifier {
assert.Equal(t, ingress.Type, expectedIngress.Type, "Ingress type is not equal in test %s", tc.name)
assert.Equal(t, ingress.DNS, expectedIngress.DNS, "Ingress DNS is not equal in test %s", tc.name)
assert.Equal(t, ingress.Ports, expectedIngress.Ports, "Ingress ports are not equal in test %s", tc.name)
assert.Equal(t, ingress.PodSelector, expectedIngress.PodSelector, "Ingress pod selector is not equal in test %s", tc.name)
assert.Equal(t, ingress.NamespaceSelector, expectedIngress.NamespaceSelector, "Ingress namespace selector is not equal in test %s", tc.name)
assert.Equal(t, ingress.IPAddress, expectedIngress.IPAddress, "Ingress IP address is not equal in test %s", tc.name)
Expand Down Expand Up @@ -837,7 +836,6 @@ func TestGenerateNetworkNeighborsEntries(t *testing.T) {
if egress.Identifier == expectedEgress.Identifier {
assert.Equal(t, egress.Type, expectedEgress.Type, "Egress type is not equal in test %s", tc.name)
assert.Equal(t, egress.DNS, expectedEgress.DNS, "Egress DNS is not equal in test %s", tc.name)
assert.Equal(t, egress.Ports, expectedEgress.Ports, "Egress ports are not equal in test %s", tc.name)
assert.Equal(t, egress.PodSelector, expectedEgress.PodSelector, "Egress pod selector is not equal in test %s", tc.name)
assert.Equal(t, egress.NamespaceSelector, expectedEgress.NamespaceSelector, "Egress namespace selector is not equal in test %s", tc.name)
assert.Equal(t, egress.IPAddress, expectedEgress.IPAddress, "Egress IP address is not equal in test %s", tc.name)
Expand Down

0 comments on commit 9246d78

Please sign in to comment.