Skip to content

Commit

Permalink
Fixed ConfigFileUsed.
Browse files Browse the repository at this point in the history
  • Loading branch information
patcon committed Nov 13, 2018
1 parent 33dd5a7 commit 4e5a1f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridge/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (b *Api) handleConfigReload(c echo.Context) error {
b.Log.Error("Error reading remote config file: ", err)
return c.String(http.StatusInternalServerError, "Internal Server Error")
}
cfgfile := b.Config.ConfigFileUsed()
cfgfile := b.Config.Bridge.Config.ConfigFileUsed()
err = ioutil.WriteFile(cfgfile, content, 0644)
if err != nil {
b.Log.Error("Failed to write remote config file: ", err)
Expand Down

0 comments on commit 4e5a1f7

Please sign in to comment.