From c56f81bac2afb891c8b777ce1393ef721abece0e Mon Sep 17 00:00:00 2001 From: Pavel Sviderski Date: Wed, 11 Sep 2024 16:10:36 +1000 Subject: [PATCH] add TODO --- internal/machine/machine.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/machine/machine.go b/internal/machine/machine.go index c78e2027..a8b8eb17 100644 --- a/internal/machine/machine.go +++ b/internal/machine/machine.go @@ -354,6 +354,8 @@ func (m *Machine) InitCluster(ctx context.Context, req *pb.InitClusterRequest) ( slog.Info("Cluster initialised with machine.", "machine", m.state.Name) // Signal that the machine is initialised as a member of a cluster. m.initialised <- struct{}{} + // TODO: consider calling a synchronous method to reconfigure the network to return error if it fails. + // Alternatively a client can call another method to check the network status. resp := &pb.InitClusterResponse{ Machine: addResp.Machine,