cert-manager/pkg
Eng Zer Jun c274d7e929
refactor: remove redundant nil check
From the Go specification:

  "3. If the map is nil, the number of iterations is 0." [1]

Therefore, an additional nil check for before the loop is unnecessary.

[1]: https://go.dev/ref/spec#For_range

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-09-05 19:05:59 +08:00
..
acme upgrade all dependencies 2023-08-24 19:54:25 +02:00
api improve (Extended)KeyUsage parsing to be more consistent 2023-06-26 10:06:55 +02:00
apis apply review suggestions 2023-09-01 12:20:00 +02:00
client upgrade all dependencies 2023-08-24 19:54:25 +02:00
controller Merge pull request #6298 from inteon/feature_gates 2023-08-30 19:25:45 +02:00
ctl Remove bazel 🎉 2022-07-26 11:38:50 +01:00
healthz Simulate a remote leader that always updates its lease 2023-05-05 15:56:18 +01:00
issuer refactor: remove redundant nil check 2023-09-05 19:05:59 +08:00
logs klog: warn people that the flags may get removed in the future 2023-08-25 08:54:54 +02:00
metrics refactor RemoveCertificate to use DeletePartialMatch 2022-09-28 10:24:30 -04:00
scheduler Remove bazel 🎉 2022-07-26 11:38:50 +01:00
util replace k8s.io/utils/pointer with k8s.io/utils/ptr 2023-08-28 09:33:10 +02:00
webhook replace k8s.io/utils/pointer with k8s.io/utils/ptr 2023-08-28 09:33:10 +02:00