mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-15 22:47:13 +00:00
Update all dependencies, conforming to the new controller-runtime API (#3949)
This commit is contained in:
@@ -31,7 +31,7 @@ type ListRunnersHandler struct {
|
||||
|
||||
func (h *ListRunnersHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
|
||||
w.WriteHeader(h.Status)
|
||||
fmt.Fprintf(w, h.Body)
|
||||
fmt.Fprintf(w, "%s", h.Body)
|
||||
}
|
||||
|
||||
type Handler struct {
|
||||
@@ -52,7 +52,7 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
|
||||
}
|
||||
}
|
||||
|
||||
fmt.Fprintf(w, h.Body)
|
||||
fmt.Fprintf(w, "%s", h.Body)
|
||||
}
|
||||
|
||||
type MapHandler struct {
|
||||
|
||||
Reference in New Issue
Block a user