diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-07-07 15:41:16 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-07-07 15:41:16 +0200 |
| commit | 7d67ce7f6a15970677b7d0b8f4912fe379862515 (patch) | |
| tree | 62df25f68432308c048ffd8029bbe896f5fa4845 /state.go | |
| parent | 1865b016d0cca74cd3703db5a3b4217917988dec (diff) | |
Format: Run gofumpt
Diffstat (limited to 'state.go')
| -rw-r--r-- | state.go | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -2,6 +2,7 @@ package eduvpn import ( "fmt" + "github.com/jwijenbergh/eduvpn-common/internal/config" "github.com/jwijenbergh/eduvpn-common/internal/discovery" "github.com/jwijenbergh/eduvpn-common/internal/fsm" @@ -145,7 +146,6 @@ func (state *VPNState) AskSecureLocation() error { return nil } - func (state *VPNState) addSecureInternetHomeServer(orgID string) (server.Server, error) { errorMessage := fmt.Sprintf("failed adding Secure Internet home server with organization ID %s", orgID) // Get the secure internet URL from discovery @@ -201,7 +201,6 @@ func (state *VPNState) addInstituteServer(url string) (server.Server, error) { state.FSM.GoTransition(fsm.CHOSEN_SERVER) return server, nil - } func (state *VPNState) addCustomServer(url string) (server.Server, error) { @@ -219,7 +218,6 @@ func (state *VPNState) addCustomServer(url string) (server.Server, error) { state.FSM.GoTransition(fsm.CHOSEN_SERVER) return server, nil - } func (state *VPNState) GetConfigInstituteAccess(url string, forceTCP bool) (string, string, error) { @@ -259,7 +257,6 @@ func (state *VPNState) CancelOAuth() error { return nil } - func (state *VPNState) GetDiscoOrganizations() (string, error) { if state.FSM.InState(fsm.DEREGISTERED) { return "", &types.WrappedErrorMessage{Message: "failed to get the organizations with Discovery", Err: fsm.DeregisteredError{}.CustomError()} |
