diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-05-06 08:33:52 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-05-06 07:51:03 +0000 |
| commit | d884b519ef74f7edf51f2c964162f0a2fe80846c (patch) | |
| tree | c3ce7fc5f922fcc8710e5a8f478c85bd9c52a8f0 /pkg/vminfo/vminfo_test.go | |
| parent | 610f2a54d02f8cf4f2454c03bf679b602e6e59b6 (diff) | |
pkg/flatrpc: refactor names
Remove T suffix from object API types.
It seems that we will use these types thoughout the code,
and the suffix looks alien in Go code.
So it's better to remove it before we started using
these names more widely.
Also add few extensions we will need to move feature
checking to the host.
Diffstat (limited to 'pkg/vminfo/vminfo_test.go')
| -rw-r--r-- | pkg/vminfo/vminfo_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/vminfo/vminfo_test.go b/pkg/vminfo/vminfo_test.go index 52ddca22e..7e7781a73 100644 --- a/pkg/vminfo/vminfo_test.go +++ b/pkg/vminfo/vminfo_test.go @@ -42,7 +42,7 @@ func TestHostMachineInfo(t *testing.T) { } } -func hostChecker(t *testing.T) (*Checker, []flatrpc.FileInfoT) { +func hostChecker(t *testing.T) (*Checker, []flatrpc.FileInfo) { cfg := testConfig(t, runtime.GOOS, runtime.GOARCH) checker := New(cfg) files := host.ReadFiles(checker.RequiredFiles()) |
