Remove legacy references to Vault's API (#426)
This commit is contained in:
1 parent
41a3c66ea1
commit
3940842c4d
2 files changed
+2
-2
No files matched your search
@@ -40,7 +40,7 @@ type HandlerProperties struct {
|
||||
}
|
||||
|
||||
// Handler returns an http.Handler for the services. This can be used on
|
||||
// its own to mount the Vault API within another web server.
|
||||
// its own to mount the Controller API within another web server.
|
||||
func (c *Controller) handler(props HandlerProperties) (http.Handler, error) {
|
||||
// Create the muxer to handle the actual endpoints
|
||||
mux := http.NewServeMux()
|
||||
|
||||
@@ -19,7 +19,7 @@ type HandlerProperties struct {
|
||||
}
|
||||
|
||||
// Handler returns an http.Handler for the API. This can be used on
|
||||
// its own to mount the Vault API within another web server.
|
||||
// its own to mount the Worker API within another web server.
|
||||
func (w *Worker) handler(props HandlerProperties) http.Handler {
|
||||
// Create the muxer to handle the actual endpoints
|
||||
mux := http.NewServeMux()
|
||||
|
||||
Reference in new issue
Block a user