Skip to content

Commit

Permalink
new msg
Browse files Browse the repository at this point in the history
Signed-off-by: Prateeknandle <prateeknandle@gmail.com>
  • Loading branch information
Prateeknandle committed Feb 14, 2023
1 parent 6e207b2 commit 1c06cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion summary/summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func GetSummary(c *k8s.Client, o Options) ([]string, error) {
// create a client
conn, err := grpc.Dial(gRPC, grpc.WithTransportCredentials(insecure.NewCredentials()))
if err != nil {
return nil, errors.New("could not connect to the server. Possible troubleshooting:\n- Check if discovery engine is running\n- Create a portforward to discovery engine service using\n\t\033[1mkubectl port-forward -n <namespace> service/knoxautopolicy --address 0.0.0.0 --address :: 9089:9089\033[0m\n[0m")
return nil, errors.New("could not connect to the server. Possible troubleshooting:\n- Check if discovery engine is running\n- kubectl get po -n accuknox-agents")
}
defer conn.Close()

Expand Down

0 comments on commit 1c06cb5

Please sign in to comment.