mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-28 12:03:33 +00:00
feat(machine): sync machine arch, daemon and docker versions to store, sync machine info on schedule
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user