From 98d015b5c36eb43b04e8fbde1d7b949139f58d1f Mon Sep 17 00:00:00 2001 From: Herman Slatman Date: Mon, 4 Sep 2023 15:36:37 +0200 Subject: [PATCH] Fix linting issues --- api/models/scep.go | 2 +- authority/provisioner/scep.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/models/scep.go b/api/models/scep.go index ce542d6b..a9cec1e0 100644 --- a/api/models/scep.go +++ b/api/models/scep.go @@ -68,7 +68,7 @@ func (s *SCEP) GetTokenID(string) (string, error) { } // 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 } diff --git a/authority/provisioner/scep.go b/authority/provisioner/scep.go index 110f7874..e547deff 100644 --- a/authority/provisioner/scep.go +++ b/authority/provisioner/scep.go @@ -314,7 +314,7 @@ func (s *SCEP) ShouldIncludeRootInChain() bool { // ShouldIncludeIntermediateInChain indicates if the // CA should include the intermediate CA certificate in the // 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. func (s *SCEP) ShouldIncludeIntermediateInChain() bool { return !s.ExcludeIntermediate