diff options
Diffstat (limited to 'pkg/vpn/bonafide/bonafide.go')
-rw-r--r-- | pkg/vpn/bonafide/bonafide.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/vpn/bonafide/bonafide.go b/pkg/vpn/bonafide/bonafide.go index 4e1db74..212361f 100644 --- a/pkg/vpn/bonafide/bonafide.go +++ b/pkg/vpn/bonafide/bonafide.go @@ -225,6 +225,10 @@ func (b *Bonafide) GetAllGateways(transport string) ([]Gateway, error) { } func (b *Bonafide) ListLocationFullness(transport string) map[string]float64 { + err := b.maybeInitializeEIP() + if err != nil { + log.Println("Error fetching eip-service.json:", err) + } return b.gateways.listLocationFullness(transport) } |