Skip to content

Commit

Permalink
Fix TLSKey > TLSCert typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
brocaar committed Jan 25, 2018
1 parent c18c1e5 commit 6d9a49f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/content/overview/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ menu:
**Bugfixes:**

* Fix missing `/` prefix in two UI links causing a redirect to the login page.
* Fix typo in TLS certificate loading causing error *failed to find certificate PEM data in certificate input* (thanks [@Francisco_Rivas](https://forum.loraserver.io/u/Francisco_Rivas/summary))

### 0.17.0

Expand Down
2 changes: 1 addition & 1 deletion internal/storage/network_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func CreateNetworkServer(db sqlx.Queryer, n *NetworkServer) error {
return handlePSQLError(Insert, err, "insert error")
}

nsClient, err := common.NetworkServerPool.Get(n.Server, []byte(n.CACert), []byte(n.TLSKey), []byte(n.TLSKey))
nsClient, err := common.NetworkServerPool.Get(n.Server, []byte(n.CACert), []byte(n.TLSCert), []byte(n.TLSKey))
if err != nil {
return errors.Wrap(err, "get network-server client error")
}
Expand Down

0 comments on commit 6d9a49f

Please sign in to comment.