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()