Skip to content
Snippets Groups Projects
Commit a3049438 authored by Pea Nut's avatar Pea Nut Committed by jkito
Browse files

Rename GetAllGateways to FetchAllGateways and change return values of FetchAllGateways

After removing `Bitmask.ReloadFirewall()` there are no calls to `b.api.GetAllGateways()`
where the calling function actually need the gateways as return values. So I renamed the
function to FetchAllGateways. The function now only returns an error (instead of
`([]bonafide.Gateway, error)`). This simplifies the code of v5 a bit, as
we get rid of yet another function/abstraction. In v3 `gatewayPool.getAll()`
now also returns just an error.
parent 4b7392e3
No related branches found
No related tags found
1 merge request!221Remove Bitmask.ReloadFirewall and change GetAllGateways to FetchGateways , fixes #824
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment