Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
accountserver
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
silver-platter
accountserver
Commits
137c62ba
Commit
137c62ba
authored
4 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Add a missing import
parent
633f9fb3
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
server/server.go
+1
-4
1 addition, 4 deletions
server/server.go
with
1 addition
and
4 deletions
server/server.go
+
1
−
4
View file @
137c62ba
...
...
@@ -3,6 +3,7 @@ package server
import
(
"crypto/tls"
"encoding/json"
"errors"
"fmt"
"log"
"net/http"
...
...
@@ -182,10 +183,6 @@ func New(service *as.AccountService, backend as.Backend, leaderAddr string, clie
var
emptyResponse
struct
{}
type
jsonError
interface
{
JSON
()
[]
byte
}
// A forwardServer is just a fancy httputil.ReverseProxy with loop
// detection (we don't want to receive proxied requests if we are not
// the leader).
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment