Skip to content

Commit 971f9d6

Browse files
chore: check agents match
1 parent 096a85e commit 971f9d6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

codersdk/workspaceagents.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,8 @@ func (d WorkspaceAgentDevcontainer) Equals(other WorkspaceAgentDevcontainer) boo
429429
d.Dirty == other.Dirty &&
430430
(d.Container == nil && other.Container == nil ||
431431
(d.Container != nil && other.Container != nil && d.Container.ID == other.Container.ID)) &&
432+
(d.Agent == nil && other.Agent == nil ||
433+
(d.Agent != nil && other.Agent != nil && *d.Agent == *other.Agent)) &&
432434
d.Error == other.Error
433435
}
434436

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy