From 3940842c4d8f260748524130325e8effb7b24ced Mon Sep 17 00:00:00 2001 From: Christian Frichot Date: Fri, 25 Sep 2020 00:55:06 +0800 Subject: [PATCH] Remove legacy references to Vault's API (#426) --- internal/servers/controller/handler.go | 2 +- internal/servers/worker/handler.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/servers/controller/handler.go b/internal/servers/controller/handler.go index 70b4e2a1d..17b832562 100644 --- a/internal/servers/controller/handler.go +++ b/internal/servers/controller/handler.go @@ -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() diff --git a/internal/servers/worker/handler.go b/internal/servers/worker/handler.go index 65a9a241b..7f0d756b3 100644 --- a/internal/servers/worker/handler.go +++ b/internal/servers/worker/handler.go @@ -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()