Skip to content

Commit 8f367df

Browse files
diafourldmonster
andauthored
fix: clear readiness hooks flag after ModuleDelete (#651)
Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com> Co-authored-by: Pavel Okhlopkov <36456348+ldmonster@users.noreply.github.com>
1 parent b769929 commit 8f367df

File tree

1 file changed

+1
-0
lines changed
  • pkg/module_manager/models/modules

1 file changed

+1
-0
lines changed

pkg/module_manager/models/modules/basic.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ func (bm *BasicModule) HasReadiness() bool {
201201
// DeregisterHooks clean up all module hooks
202202
func (bm *BasicModule) DeregisterHooks() {
203203
bm.hooks.clean()
204+
bm.hasReadiness = false
204205
}
205206

206207
// HooksControllersReady returns controllersReady status of the hook storage

0 commit comments

Comments
 (0)