Remove legacy references to Vault's API (#426)

This commit is contained in:
Christian Frichot authored and GitHub committed 2020-09-24 12:55:06 -04:00
1 parent 41a3c66ea1
commit 3940842c4d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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()
+1 -1
View File
@@ -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()