Skip to content

Commit dccc11b

Browse files
committed
docs: fix sample grpc command
Signed-off-by: Guoxun Wei <[email protected]>
1 parent 26a8db5 commit dccc11b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/cli/serve-mode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ kubectl get nodes
3030
Next, run the following command:
3131

3232
```bash
33-
grpcurl -plaintext localhost:8080 schema.v1.ServerService/Analyze
33+
grpcurl -plaintext localhost:8080 schema.v1.ServerAnalyzerService/Analyze
3434
```
3535

3636
This command provides a list of issues in your Kubernetes cluster. If there are no issues identified, you should receive a status of `OK`.
@@ -40,7 +40,7 @@ This command provides a list of issues in your Kubernetes cluster. If there are
4040
You can specify parameters using the following command:
4141

4242
```bash
43-
grpcurl -plaintext -d '{"explain": false, "filters": ["Ingress"], "namespace": "k8sgpt"}' localhost:8080 schema.v1.ServerService/Analyze
43+
grpcurl -plaintext -d '{"explain": false, "filters": ["Ingress"], "namespace": "k8sgpt"}' localhost:8080 schema.v1.ServerAnalyzerService/Analyze
4444
```
4545

4646
In this example, the analyzer will only consider the `k8sgpt` namespace without AI explanation and only focus on the `Ingress` filter.

0 commit comments

Comments
 (0)