Skip to content

Commit 22cce65

Browse files
committed
Immidiately close the certsReady channel if the cert-generator is disabled
Signed-off-by: Yuki Iwai <[email protected]>
1 parent 888bec3 commit 22cce65

File tree

1 file changed

+1
-1
lines changed
  • cmd/katib-controller/v1beta1

1 file changed

+1
-1
lines changed

cmd/katib-controller/v1beta1/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ func main() {
141141
log.Error(err, "Failed to set up cert-generator")
142142
}
143143
} else {
144-
certsReady <- struct{}{}
144+
close(certsReady)
145145
}
146146

147147
// The setupControllers will register controllers to the manager

0 commit comments

Comments
 (0)