Skip to content

Commit

Permalink
chore: add missing s for --metasrv-addr
Browse files Browse the repository at this point in the history
  • Loading branch information
discord9 committed Jul 4, 2024
1 parent ad6cf8d commit 8490143
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/components/datanode.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (d *datanode) BuildArgs(params ...interface{}) []string {
fmt.Sprintf("--log-level=%s", logLevel),
d.Name(), "start",
fmt.Sprintf("--node-id=%d", nodeID),
fmt.Sprintf("--metasrv-addr=%s", d.metaSrvAddr),
fmt.Sprintf("--metasrv-addrs=%s", d.metaSrvAddr),
fmt.Sprintf("--data-home=%s", homeDir),
}
args = GenerateAddrArg("--http-addr", d.config.HTTPAddr, nodeID, args)
Expand Down
2 changes: 1 addition & 1 deletion pkg/components/frontend.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (f *frontend) BuildArgs(params ...interface{}) []string {
args := []string{
fmt.Sprintf("--log-level=%s", logLevel),
f.Name(), "start",
fmt.Sprintf("--metasrv-addr=%s", f.metaSrvAddr),
fmt.Sprintf("--metasrv-addrs=%s", f.metaSrvAddr),
}

args = GenerateAddrArg("--http-addr", f.config.HTTPAddr, nodeId, args)
Expand Down

0 comments on commit 8490143

Please sign in to comment.