Skip to content

Commit

Permalink
trivy changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nithunikzz committed Feb 28, 2024
1 parent 60e559e commit 2e5eb83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/kubviz/k8smetrics_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func main() {
}

if nc == nil {
nc, _ = nats.Connect(natsurl, nats.Name("K8s Metrics"), nats.Token(token))
nc, err = nats.Connect(natsurl, nats.Name("K8s Metrics"), nats.Token(token))
events.CheckErr(err)
}
js, err := nc.JetStream()
Expand Down

0 comments on commit 2e5eb83

Please sign in to comment.