mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
fix(cluster): improve error handling on failed machine subscription in cluster store
This commit is contained in:
@@ -107,7 +107,7 @@ func (c *Controller) Run(ctx context.Context) error {
|
||||
select {
|
||||
case _, ok := <-changes:
|
||||
if !ok {
|
||||
return fmt.Errorf("containers subscription failed")
|
||||
return fmt.Errorf("subscription to container changes in cluster store failed")
|
||||
}
|
||||
c.log.Debug("Cluster containers changed, regenerating Caddy configuration.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user