Skip to content

Commit

Permalink
Fix bug where otterize mapper could not perform visualize (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
omris94 authored Aug 25, 2024
1 parent 6b580a2 commit c95a8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pkg/intentsoutput/intentsvisualizer/visualizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (v *Visualizer) populateNodeCache(intents []v2alpha1.ClientIntents) error {
return err
}
for _, call := range intent.GetTargetList() {
targetServiceName := getServiceNameWithNamespace(clientNS, call.GetTargetServerName())
targetServiceName := getServiceNameWithNamespace(clientNS, call.GetTargetServerNameAsWritten())
if err := v.addToCache(targetServiceName); err != nil {
return err
}
Expand Down

0 comments on commit c95a8b2

Please sign in to comment.