mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-28 20:13:33 +00:00
fix(cluster): improve error handling on failed machine subscription in cluster store
This commit is contained in:
@@ -50,7 +50,7 @@ func (r *ClusterResolver) 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")
|
||||
}
|
||||
r.log.Debug("Cluster containers changed, updating DNS records.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user