mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
chore: upgrade tailscale to v1.46.1 (#8913)
This commit is contained in:
@ -39,6 +39,7 @@ import (
|
||||
"github.com/coder/coder/coderd/httpmw"
|
||||
"github.com/coder/coder/coderd/rbac"
|
||||
"github.com/coder/coder/coderd/util/ptr"
|
||||
"github.com/coder/coder/coderd/util/slice"
|
||||
"github.com/coder/coder/codersdk"
|
||||
"github.com/coder/coder/codersdk/agentsdk"
|
||||
"github.com/coder/coder/tailnet"
|
||||
@ -1616,8 +1617,8 @@ func (api *API) watchWorkspaceAgentMetadata(rw http.ResponseWriter, r *http.Requ
|
||||
})
|
||||
return
|
||||
}
|
||||
slices.SortFunc(lastDBMeta, func(i, j database.WorkspaceAgentMetadatum) bool {
|
||||
return i.Key < j.Key
|
||||
slices.SortFunc(lastDBMeta, func(a, b database.WorkspaceAgentMetadatum) int {
|
||||
return slice.Ascending(a.Key, b.Key)
|
||||
})
|
||||
|
||||
// Avoid sending refresh if the client is about to get a
|
||||
|
Reference in New Issue
Block a user