Skip to content

Commit 0d2ecb2

Browse files
committed
compile error mishap
1 parent 101702d commit 0d2ecb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tailnet/controllers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ type Workspace struct {
898898
}
899899

900900
func (w *Workspace) Clone() Workspace {
901-
agents := make(map[uuid.UUID]*Agent, len(a.agents))
901+
agents := make(map[uuid.UUID]*Agent, len(w.agents))
902902
for k, v := range w.agents {
903903
clone := v.Clone()
904904
agents[k] = &clone

0 commit comments

Comments
 (0)