Skip to content

Commit ea9f564

Browse files
committed
fix copy
1 parent 9d57279 commit ea9f564

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

agent/api.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ func (a *agent) apiHandler() (http.Handler, func() error) {
5757
} else {
5858
r.HandleFunc("/api/v0/containers", func(w http.ResponseWriter, r *http.Request) {
5959
httpapi.Write(r.Context(), w, http.StatusForbidden, codersdk.Response{
60-
Message: "Container API is not enabled.",
61-
Detail: "Set the CODER_AGENT_DEVCONTAINERS_ENABLE environment variable or use the --devcontainers-enable flag on the agent to enable the container API.",
60+
Message: "The agent dev containers feature is not enabled.",
61+
Detail: "Set the CODER_AGENT_DEVCONTAINERS_ENABLE environment variable or use the --devcontainers-enable flag to enable this feature.",
6262
})
6363
})
6464
}

0 commit comments

Comments
 (0)