From 7d67ce7f6a15970677b7d0b8f4912fe379862515 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Thu, 7 Jul 2022 15:41:16 +0200 Subject: Format: Run gofumpt --- state.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'state.go') diff --git a/state.go b/state.go index 8306ca0..46bee4d 100644 --- a/state.go +++ b/state.go @@ -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()} -- cgit v1.2.3