Skip to content

Commit

Permalink
impl
Browse files Browse the repository at this point in the history
  • Loading branch information
haim-kermany committed Mar 5, 2025
1 parent d0efcc6 commit 08454bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/synthesis/synthesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ func compareToNetpol(t *testing.T, rc *collector.ResourcesContainerModel, k8sCon
for src, dsts := range connMap {
for dst, conn := range dsts {
// todo - set the real vm namespaces:
netpolFormat := fmt.Sprintf("default/%s[Pod] => default/%s[Pod]", src.Name(), dst.Name())
netpolFormat := fmt.Sprintf("default/%s[Pod] => default/%s[Pod]", toLegalK8SString(src.Name()), toLegalK8SString(dst.Name()))
netpolConn, ok := netpolConnMap[netpolFormat]
require.Equal(t, ok, !conn.Conn.IsEmpty())
if ok {
Expand Down

0 comments on commit 08454bc

Please sign in to comment.