ソースを参照

Fix linting issues

Herman Slatman 3 年 前
親
コミット
98d015b5c3
2 ファイル変更、2 行追加、2 行削除
  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.
-func (s *SCEP) Init(config provisioner.Config) (err error) {
+func (s *SCEP) Init(_ provisioner.Config) (err error) {
 	return errDummyImplementation
 }
 

+ 1 - 1
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