feat(machine): sync machine arch, daemon and docker versions to store, sync machine info on schedule

This commit is contained in:
Pasha Sviderski
2026-06-22 19:47:35 +10:00
parent 69acf6f58e
commit 8b95db66d1
7 changed files with 448 additions and 261 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
package machine
import (
"context"
"net/netip"
"testing"
@@ -63,7 +64,7 @@ func TestMachineInfo(t *testing.T) {
t.Parallel()
m := &Machine{state: tt.state}
info := m.Info()
info := m.Info(context.Background())
assert.Equal(t, tt.state.ID, info.Id)
assert.Equal(t, tt.state.Name, info.Name)