Skip to content

Commit 37d3747

Browse files
committed
lint
1 parent 901a258 commit 37d3747

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

agent/agentcontainers/api.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -234,14 +234,14 @@ func (api *API) Routes() http.Handler {
234234
return r
235235
}
236236

237-
func (api *API) handleDisabled(w http.ResponseWriter, r *http.Request) {
237+
func (*API) handleDisabled(w http.ResponseWriter, r *http.Request) {
238238
httpapi.Write(r.Context(), w, http.StatusNotImplemented, codersdk.Response{
239239
Message: "Devcontainers are not enabled in this agent.",
240240
Detail: "Devcontainers are not enabled in this agent.",
241241
})
242242
}
243243

244-
func (api *API) handleDisabledEmptyList(w http.ResponseWriter, r *http.Request) {
244+
func (*API) handleDisabledEmptyList(w http.ResponseWriter, r *http.Request) {
245245
httpapi.Write(r.Context(), w, http.StatusOK, codersdk.WorkspaceAgentListContainersResponse{
246246
Containers: []codersdk.WorkspaceAgentContainer{},
247247
})

0 commit comments

Comments
 (0)