fix(cluster): improve error handling on failed machine subscription in cluster store

This commit is contained in:
Pasha Sviderski
2026-06-23 20:54:25 +10:00
parent b08cee03e3
commit 35191c00e0
5 changed files with 48 additions and 66 deletions
+1 -1
View File
@@ -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.")