Skip to content

Commit

Permalink
valut app bind fix for summary (#669)
Browse files Browse the repository at this point in the history
Signed-off-by: yasin-cs-ko-ak <yasin@accuknox.com>
  • Loading branch information
yasin-cs-ko-ak committed Feb 11, 2023
1 parent 3e2adb5 commit 1308a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/observability/summarizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ func extractNetworkInfoFromSystemLog(netLog pb.Alert, pods []types.Pod, services
}
} else if strings.Contains(netLog.Resource, "AF_UNIX") {
var path string
protocol = "AF_UNIX"
resslice := strings.Split(netLog.Resource, " ")
for _, locres := range resslice {
if strings.Contains(locres, "sun_path") {
path = strings.Split(locres, "=")[1]
if path != "" {
ip = path
bindAddress = path
protocol = "AF_UNIX"
break
}
}
Expand Down

0 comments on commit 1308a64

Please sign in to comment.