Explorar el Código

Fix linting issues

Herman Slatman hace 3 años
padre
commit
98d015b5c3
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      api/models/scep.go
  2. 1 1
      authority/provisioner/scep.go

+ 1 - 1
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.
 // 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
 }
 }
 
 

+ 1 - 1
authority/provisioner/scep.go

@@ -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