Fix linting issues

pull/1523/head
Herman Slatman 9 months ago
parent d9f56cdbdc
commit 98d015b5c3
No known key found for this signature in database
GPG Key ID: F4D8A44EA0A75A4F

@ -68,7 +68,7 @@ func (s *SCEP) GetTokenID(string) (string, error) {
} }
// Init initializes and validates the fields of a SCEP type. // Init initializes and validates the fields of a SCEP type.
func (s *SCEP) Init(config provisioner.Config) (err error) { func (s *SCEP) Init(_ provisioner.Config) (err error) {
return errDummyImplementation return errDummyImplementation
} }

@ -314,7 +314,7 @@ func (s *SCEP) ShouldIncludeRootInChain() bool {
// ShouldIncludeIntermediateInChain indicates if the // ShouldIncludeIntermediateInChain indicates if the
// CA should include the intermediate CA certificate in the // CA should include the intermediate CA certificate in the
// GetCACerts response. This is true by default, but can be // GetCACerts response. This is true by default, but can be
// overriden through configuration in case SCEP clients // overridden through configuration in case SCEP clients
// don't pick the right recipient. // don't pick the right recipient.
func (s *SCEP) ShouldIncludeIntermediateInChain() bool { func (s *SCEP) ShouldIncludeIntermediateInChain() bool {
return !s.ExcludeIntermediate return !s.ExcludeIntermediate

Loading…
Cancel
Save