Skip to content

Commit dfdf659

Browse files
committed
re-add missing reload
1 parent d1215f5 commit dfdf659

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/configs/configurator.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,6 +1416,10 @@ func (cnf *Configurator) UpdateConfig(resources ExtendedResources) (Warnings, er
14161416
allWarnings.Add(warnings)
14171417
}
14181418

1419+
if err := cnf.Reload(nginx.ReloadForOtherUpdate); err != nil {
1420+
return allWarnings, fmt.Errorf("error when updating config from ConfigMap: %w", err)
1421+
}
1422+
14191423
for _, weightUpdate := range allWeightUpdates {
14201424
cnf.nginxManager.UpsertSplitClientsKeyVal(weightUpdate.Zone, weightUpdate.Key, weightUpdate.Value)
14211425
}

0 commit comments

Comments
 (0)