diff options
Diffstat (limited to 'exports')
| -rw-r--r-- | exports/disco.go | 4 | ||||
| -rw-r--r-- | exports/servers.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/exports/disco.go b/exports/disco.go index c5e544a..b04385a 100644 --- a/exports/disco.go +++ b/exports/disco.go @@ -175,7 +175,7 @@ func GetDiscoServers(name *C.char) (*C.discoveryServers, *C.error) { if stateErr != nil { return nil, getError(stateErr) } - servers, serversErr := state.GetDiscoServers() + servers, serversErr := state.DiscoServers() if serversErr != nil { return nil, getError(serversErr) } @@ -198,7 +198,7 @@ func GetDiscoOrganizations(name *C.char) (*C.discoveryOrganizations, *C.error) { if stateErr != nil { return nil, getError(stateErr) } - organizations, organizationsErr := state.GetDiscoOrganizations() + organizations, organizationsErr := state.DiscoOrganizations() if organizationsErr != nil { return nil, getError(organizationsErr) } diff --git a/exports/servers.go b/exports/servers.go index 7536465..0c3cc5f 100644 --- a/exports/servers.go +++ b/exports/servers.go @@ -174,7 +174,7 @@ func getCPtrServer(state *client.Client, base *client.ServerBase) *C.server { if base.Type == "secure_internet" { identifier = state.Servers.SecureInternetHomeServer.HomeOrganizationID countryCode = state.Servers.SecureInternetHomeServer.CurrentLocation - locations = state.Discovery.GetSecureLocationList() + locations = state.Discovery.SecureLocationList() } cServer.identifier = C.CString(identifier) |
