Ignore eab.KeyAlgorithm deprecation warning
Signed-off-by: Richard Wall <richard.wall@venafi.com>
This commit is contained in:
parent
a16add6019
commit
76fe8e2bbd
@ -136,6 +136,7 @@ func ValidateACMEIssuerConfig(iss *cmacme.ACMEIssuer, fldPath *field.Path) (fiel
|
||||
|
||||
el = append(el, ValidateSecretKeySelector(&eab.Key, eabFldPath.Child("keySecretRef"))...)
|
||||
|
||||
// nolint:staticcheck // SA1019 accessing the deprecated eab.KeyAlgorithm field is intentional here.
|
||||
if len(eab.KeyAlgorithm) != 0 {
|
||||
warnings = append(warnings, deprecatedACMEEABKeyAlgorithmField)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user