mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
fix(pre-deploy): exclude hook containers from caddy and dns controllers
This commit is contained in:
@@ -72,6 +72,9 @@ func (r *ClusterResolver) updateServiceIPs(containers []store.ContainerRecord) {
|
||||
|
||||
containersCount := 0
|
||||
for _, record := range containers {
|
||||
if record.Container.IsHook() {
|
||||
continue
|
||||
}
|
||||
if !record.Container.Healthy() {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user