mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
fix: race on cluster init by waiting for corrosion service to become ready with schema applied
This commit is contained in:
1 parent
3faaac4da7
commit
4166474ee8
5 files changed
+83
-30
No files matched your search
@@ -321,6 +321,7 @@ func (m *Machine) Run(ctx context.Context) error {
|
||||
if err := m.config.CorrosionService.Start(ctx); err != nil {
|
||||
return fmt.Errorf("start corrosion service: %w", err)
|
||||
}
|
||||
slog.Info("Corrosion service started.")
|
||||
}
|
||||
|
||||
// Use an errgroup to coordinate error handling and graceful shutdown of multiple machine components.
|
||||
|
||||
Reference in new issue
Block a user