Skip to content

Commit

Permalink
Merge pull request #4159 from LiilyZhang/zhangl/Issue4158
Browse files Browse the repository at this point in the history
Issue #4158 - Bug: Intermittent panic on agent startup
  • Loading branch information
dlarson04 authored Oct 10, 2024
2 parents e988450 + ac06413 commit a2f6c4b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions agreement/agreement.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,9 @@ func (w *AgreementWorker) reconcileNodePolicy() int {
return 60
}

w.checkNodePolicyChanges()
if w.limitedRetryEC != nil {
w.checkNodePolicyChanges()
}

return 60
}
Expand Down Expand Up @@ -501,7 +503,9 @@ func (w *AgreementWorker) CommandHandler(command worker.Command) bool {
w.checkNodeChanges()

case *NodePolicyChangeCommand:
w.checkNodePolicyChanges()
if w.limitedRetryEC != nil {
w.checkNodePolicyChanges()
}

case *NodeSvcConfigStateChangeCommand:
w.checkServiceConfigStateChanges()
Expand Down

0 comments on commit a2f6c4b

Please sign in to comment.