Skip to content

Commit

Permalink
worker: don’t recheck emulators support for WorkerInfos
Browse files Browse the repository at this point in the history
To reload emulators after they have been changed in the
kernel `ListWorkers` should be called.

Signed-off-by: Tonis Tiigi <[email protected]>
(cherry picked from commit d6978f1)
  • Loading branch information
tonistiigi committed May 5, 2022
1 parent a84c2b0 commit 128245e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/workercontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (c *Controller) WorkerInfos() []client.WorkerInfo {
out = append(out, client.WorkerInfo{
ID: w.ID(),
Labels: w.Labels(),
Platforms: w.Platforms(true),
Platforms: w.Platforms(false),
})
}
return out
Expand Down

0 comments on commit 128245e

Please sign in to comment.