PR comment: spelling
Signed-off-by: Maël Valais <mael@vls.dev>
This commit is contained in:
parent
680c7b75f6
commit
ac325bf4e0
@ -53,11 +53,11 @@ type Gatherer struct {
|
||||
//
|
||||
// We need the "current" certificate request because this CR contains the
|
||||
// "source of truth" of the current certificate, and getting the "current"
|
||||
// CR allows is to check whether the current certificate still matches the
|
||||
// CR allows us to check whether the current certificate still matches the
|
||||
// already-issued certificate request.
|
||||
//
|
||||
// An error is returned when two certificate requests are found for the
|
||||
// couple (certificate's revision, certificate's uid). This function does
|
||||
// pair (certificate's revision, certificate's uid). This function does
|
||||
// not return any apierrors.NewNotFound errors for either the secret or the
|
||||
// certificate request. Instead, if either the secret or the certificate
|
||||
// request is not found, the returned secret (respectively, certificate
|
||||
|
||||
@ -66,7 +66,6 @@ func TestDataForCertificate(t *testing.T) {
|
||||
gen.AddCertificateRequestOwnerReferences(gen.CertificateRef("cert-1", "uid-9")),
|
||||
),
|
||||
},
|
||||
ExpectedEvents: []string{},
|
||||
},
|
||||
givenCert: gen.Certificate("cert-1", gen.SetCertificateNamespace("default-unit-test-ns"),
|
||||
gen.SetCertificateUID("uid-7"),
|
||||
@ -146,7 +145,7 @@ func TestDataForCertificate(t *testing.T) {
|
||||
// namespace instead of the non-empty expected namespace, or
|
||||
// the lister is called with the right namespace and the fake
|
||||
// clientset behaved as expected. In order to avoid the
|
||||
// inconsistancy, we do make sure to have the right input
|
||||
// inconsistency, we do make sure to have the right input
|
||||
// argument being called.
|
||||
//
|
||||
// The problem with (2) is that not knowing if the call was
|
||||
|
||||
Loading…
Reference in New Issue
Block a user