We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent901a258 commit37d3747Copy full SHA for 37d3747
agent/agentcontainers/api.go
@@ -234,14 +234,14 @@ func (api *API) Routes() http.Handler {
234
returnr
235
}
236
237
-func (api*API)handleDisabled(w http.ResponseWriter,r*http.Request) {
+func (*API)handleDisabled(w http.ResponseWriter,r*http.Request) {
238
httpapi.Write(r.Context(),w,http.StatusNotImplemented, codersdk.Response{
239
Message:"Devcontainers are not enabled in this agent.",
240
Detail:"Devcontainers are not enabled in this agent.",
241
})
242
243
244
-func (api*API)handleDisabledEmptyList(w http.ResponseWriter,r*http.Request) {
+func (*API)handleDisabledEmptyList(w http.ResponseWriter,r*http.Request) {
245
httpapi.Write(r.Context(),w,http.StatusOK, codersdk.WorkspaceAgentListContainersResponse{
246
Containers: []codersdk.WorkspaceAgentContainer{},
247