summaryrefslogtreecommitdiff
path: root/internal/server/custom.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-28 14:30:55 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-28 14:30:55 +0100
commitbb760ad9036b586fd4f07b96623e8421e1dccaf0 (patch)
treec06fa76d5fe89dadb3e7ad6d4f2c1d5fe6f94912 /internal/server/custom.go
parent0bfb35520d7e138e6219e550187e0b55bc8a29ac (diff)
Formatting: Run golines
Diffstat (limited to 'internal/server/custom.go')
-rw-r--r--internal/server/custom.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/server/custom.go b/internal/server/custom.go
index f8899b3..d376727 100644
--- a/internal/server/custom.go
+++ b/internal/server/custom.go
@@ -31,7 +31,10 @@ func (servers *Servers) GetCustomServer(url string) (*InstituteAccessServer, err
if server, ok := servers.CustomServers.Map[url]; ok {
return server, nil
}
- return nil, types.NewWrappedError("failed to get institute access server", fmt.Errorf("no custom server with URL: %s", url))
+ return nil, types.NewWrappedError(
+ "failed to get institute access server",
+ fmt.Errorf("no custom server with URL: %s", url),
+ )
}
func (servers *Servers) RemoveCustomServer(url string) {