1
0
mirror of https://github.com/openshift/image-registry.git synced 2026-02-05 09:45:55 +01:00
Files
image-registry/pkg/dockerregistry/server/context_test.go
2018-08-27 17:09:06 +02:00

8 lines
175 B
Go

package server
import "context"
func withAppMiddleware(parent context.Context, am appMiddleware) context.Context {
return context.WithValue(parent, appMiddlewareKey, am)
}