Skip to content

Commit 2bffd58

Browse files
author
Michael Ruoss
authored
Merge pull request #181 from coryodaniel/fix-error-msg
inspect PID in error message as it cannot be converted to binary
2 parents eaa7fcd + 88fa507 commit 2bffd58

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
### Fixed
1515

1616
- `K8s.Resourse.label/2`: spec updated to accept label maps as a second argument [#177](https://github.com/coryodaniel/k8s/pull/177)
17-
- `K8s.Discovery.Driver.File`: Use `conn.discovery_opts` in file discovery driver([#180](https://github.com/coryodaniel/k8s/pull/180))
17+
- `K8s.Discovery.Driver.File`: Use `conn.discovery_opts` in file discovery driver ([#180](https://github.com/coryodaniel/k8s/pull/180))
18+
- `K8s.Client.DynamicHTTPProvider.request/5`: Fix converting PID to string inside error message ([#181](https://github.com/coryodaniel/k8s/pull/181))
1819

1920
<!--------------------- Don't add new entries after this line --------------------->
2021

lib/k8s/client/dynamic_http_provider.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ defmodule K8s.Client.DynamicHTTPProvider do
6262

6363
case parent do
6464
nil ->
65-
raise "No handler module registered for process #{self()} or parent."
65+
raise "No handler module registered for process #{inspect(self())} or parent."
6666

6767
parent ->
6868
response = parent.request(method, url, body, headers, opts)

0 commit comments

Comments
 (0)