fix(server): Minor fixes to updated new builder code
This commit is contained in:
parent
ef2623d168
commit
17adda0355
2 changed files with 7 additions and 8 deletions
|
|
@ -122,7 +122,7 @@ func writeError(w http.ResponseWriter, status int, code, message string) {
|
|||
}
|
||||
|
||||
type registryHandler struct {
|
||||
ctx *context.Context
|
||||
ctx context.Context
|
||||
state *builder.State
|
||||
}
|
||||
|
||||
|
|
@ -201,7 +201,7 @@ func main() {
|
|||
|
||||
// All /v2/ requests belong to the registry handler.
|
||||
http.Handle("/v2/", ®istryHandler{
|
||||
ctx: &ctx,
|
||||
ctx: ctx,
|
||||
state: &state,
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue