Skip to content

Commit

Permalink
Merge pull request #49 from h0n9/develop
Browse files Browse the repository at this point in the history
Prepare to release `v0.0.8`
  • Loading branch information
h0n9 authored Apr 16, 2024
2 parents 62b04f5 + 23429ea commit 5d058b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ To get started with Message Lake, follow these steps:

1. Deploy a msg-lake agent with `docker` command:
```shell
docker run --rm h0n9/msg-lake:latest agent
docker run --network "host" --rm ghcr.io/h0n9/msg-lake:latest agent
```

Alternatively, you can use the docker-compose command to deploy a cluster of
Expand All @@ -42,7 +42,7 @@ above.
2. Open a new terminal session and connect to msg-lake agent using the `docker`
command:
```shell
docker run -it --rm h0n9/msg-lake:latest client --topic "life-is-beautiful" --nickname "h0n9"
docker run --network "host" --rm -it ghcr.io/h0n9/msg-lake:latest client --topic "life-is-beautiful" --nickname "h0n9"
```

Feel free to enhance and customize the deployment instructions based on your
Expand Down
2 changes: 1 addition & 1 deletion util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

func CheckStrLen(target string, min, max int) bool {
l := len(target)
return l > min && l < max
return min <= l && l <= max
}

func GenerateRandomBase64String(size int) string {
Expand Down

0 comments on commit 5d058b0

Please sign in to comment.