chore: correct comment and add TODO to move machine resolution to grpc-proxy router

This commit is contained in:
Pasha Sviderski committed 2025-10-02 20:12:45 +10:00
1 parent 59074a275f
commit 458d282357
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -63,6 +63,7 @@ type VolumeClient interface {
func ProxyMachinesContext(
ctx context.Context, cli MachineClient, namesOrIDs []string,
) (context.Context, MachineMembersList, error) {
// TODO: move the machine IP resolution to the proxy router to allow setting machine names and IDs in the metadata.
machines, err := cli.ListMachines(ctx, nil)
if err != nil {
return nil, nil, fmt.Errorf("list machines: %w", err)