Skip to content

Commit

Permalink
fixing ports on README files
Browse files Browse the repository at this point in the history
Signed-off-by: Fernando Rocha <fernando@diagrid.io>
  • Loading branch information
rochabr committed Jul 23, 2024
1 parent 28270b3 commit 08d7ebc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions jobs/go/http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ You should see the following:
1. On the same terminal window, run the command below to deleted the recently scheduled `C-3PO` job.

```bash
curl -X DELETE http://localhost:5280/v1.0-alpha1/jobs/c-3po -H "Content-Type: application/json"
curl -X DELETE http://localhost:6280/v1.0-alpha1/jobs/c-3po -H "Content-Type: application/json"
```

2. Run the command below to attempt to retrieve the deleted job:

```bash
curl -X GET http://localhost:5280/v1.0-alpha1/jobs/c-3po -H "Content-Type: application/json"
curl -X GET http://localhost:6280/v1.0-alpha1/jobs/c-3po -H "Content-Type: application/json"
```

Back at the `job-service` app terminal window, the output should be:
Expand Down
6 changes: 3 additions & 3 deletions jobs/go/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ The terminal console output should look similar to this, where:


```text
== APP - job-service == dapr client initializing for: 127.0.0.1:5281
== APP - job-service == dapr client initializing for: 127.0.0.1:6281
== APP - job-service == Registered job handler for: R2-D2
== APP - job-service == Registered job handler for: C-3PO
== APP - job-service == Registered job handler for: BB-8
== APP - job-service == Starting server on port: 5200
== APP - job-service == Starting server on port: 6200
== APP - job-service == Job scheduled: R2-D2
== APP - job-service == Job scheduled: C-3PO
== APP - job-service == 2024/07/17 18:09:59 job:{name:"C-3PO" due_time:"10s" data:{value:"{\"droid\":\"C-3PO\",\"Task\":\"Memory Wipe\"}"}}
Expand Down Expand Up @@ -108,7 +108,7 @@ dapr run --app-id job-service --app-port 6200 --dapr-http-port 6280 --dapr-grpc-
The output should be:

```text
== APP == dapr client initializing for: 127.0.0.1:5281
== APP == dapr client initializing for: 127.0.0.1:6281
== APP == Registered job handler for: R2-D2
== APP == Registered job handler for: C-3PO
== APP == Registered job handler for: BB-8
Expand Down

0 comments on commit 08d7ebc

Please sign in to comment.