Skip to content

Update interface of ApiServer.Listen to use addr.#445

Merged
miry merged 1 commit into
masterfrom
listen-addr
Sep 16, 2022
Merged

Update interface of ApiServer.Listen to use addr.#445
miry merged 1 commit into
masterfrom
listen-addr

Conversation

@miry
Copy link
Copy Markdown
Contributor

@miry miry commented Sep 15, 2022

Provide addr instead of host and port as separate parameters.

Old:

server.Listen("localhost", "8474")

New:

server.Listen("localhost:8474")

@miry miry self-assigned this Sep 15, 2022
@miry miry added the Toxiproxy label Sep 15, 2022
@miry miry added this to the 2.6.0 milestone Sep 15, 2022
@miry miry mentioned this pull request Sep 15, 2022
13 tasks
Provide addr instead of host and port as separate parameters.

Old:
```go
server.Listen("localhost", "8474")
```

New:
```go
server.Listen("localhost:8474")
```
@miry miry marked this pull request as ready for review September 15, 2022 19:37
@miry miry merged commit d2ae089 into master Sep 16, 2022
@miry miry deleted the listen-addr branch September 16, 2022 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants