diff --git a/summary/summary.go b/summary/summary.go index b873f83c..c8d63c70 100644 --- a/summary/summary.go +++ b/summary/summary.go @@ -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 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()