Skip to content

Commit 39a60ce

Browse files
committed
fix
Signed-off-by: Sinelnikov Michail <mikhail.sinelnikov@flant.com>
1 parent 4d083de commit 39a60ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/controller/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func (c *HookController) PrintHookConfigs() error {
205205
}
206206

207207
func (c *HookController) WriteHookConfigsInFile() error {
208-
if len(c.registry.Executors()) == 0 && c.settingsCheck == nil && c.registry.Readiness() == nil {
208+
if len(c.registry.Executors()) == 0 && c.registry.Readiness() == nil {
209209
return ErrNoHooksRegistered
210210
}
211211

0 commit comments

Comments
 (0)