Skip to content

Commit f3bab0d

Browse files
ndyakovCopilot
andauthored
Update osscluster.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent fc05874 commit f3bab0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

osscluster.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,6 +1056,7 @@ func (c *clusterStateHolder) LazyReload() {
10561056
for {
10571057
_, err := c.Reload(context.Background())
10581058
if err != nil {
1059+
atomic.StoreUint32(&c.reloadPending, 0)
10591060
atomic.StoreUint32(&c.reloading, 0)
10601061
return
10611062
}

0 commit comments

Comments
 (0)