Skip to content

Commit

Permalink
changing namespace in error message
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 1677e61 commit f733734
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 @@ -70,7 +70,7 @@ func Summary(c *k8s.Client, o Options) error {
// create a client
conn, err := grpc.Dial(gRPC, grpc.WithTransportCredentials(insecure.NewCredentials()))
if err != nil {
return 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 explorer service/knoxautopolicy --address 0.0.0.0 --address :: 9089:9089\033[0m\n[0m")
return 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")
}
defer conn.Close()

Expand Down

0 comments on commit f733734

Please sign in to comment.