diff --git a/framework/provisioning/bootstrap.go b/framework/provisioning/bootstrap.go index 54dfca1a2..dc60fb68c 100644 --- a/framework/provisioning/bootstrap.go +++ b/framework/provisioning/bootstrap.go @@ -28,11 +28,6 @@ type Request struct { r *protocol.ToolRequest } -// XXX remove Tool when all the uses are gone. -type Tool interface { - StackHandler -} - type AllHandlers interface { StackHandler @@ -74,12 +69,6 @@ func Handle(h *Handlers) { } } -func HandleInvoke(f InvokeFunc) { - h := NewHandlers() - h.Any().HandleInvoke(f) - Handle(h) -} - func handleRequest(ctx context.Context, req *protocol.ToolRequest, handlers AllHandlers) (*protocol.ToolResponse, error) { br := Request{r: req, Snapshots: map[string]fs.FS{}}