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 /internal/discovery | |
| parent | 1865b016d0cca74cd3703db5a3b4217917988dec (diff) | |
Format: Run gofumpt
Diffstat (limited to 'internal/discovery')
| -rw-r--r-- | internal/discovery/discovery.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/discovery/discovery.go b/internal/discovery/discovery.go index c61469d..2331491 100644 --- a/internal/discovery/discovery.go +++ b/internal/discovery/discovery.go @@ -70,7 +70,7 @@ func (discovery *Discovery) Init(fsm *fsm.FSM, logger *log.FileLogger) { // - [TODO] when the user tries to add new server AND the user did NOT yet choose an organization before; // - [TODO] when the authorization for the server associated with an already chosen organization is triggered, e.g. after expiry or revocation. func (discovery *Discovery) DetermineOrganizationsUpdate() bool { - return discovery.Organizations.Timestamp == 0 + return discovery.Organizations.Timestamp == 0 } func (discovery *Discovery) GetSecureLocationList() []string { @@ -189,7 +189,7 @@ func (e GetOrgByIDNotFoundError) Error() string { } type GetServerByURLNotFoundError struct { - URL string + URL string Type string } @@ -199,7 +199,7 @@ func (e GetServerByURLNotFoundError) Error() string { type GetServerByCountryCodeNotFoundError struct { CountryCode string - Type string + Type string } func (e GetServerByCountryCodeNotFoundError) Error() string { |
