Skip to content

Commit

Permalink
fix: Fix lint and test issues (#18)
Browse files Browse the repository at this point in the history
Signed-off-by: jannfis <[email protected]>
  • Loading branch information
jannfis authored Feb 29, 2024
1 parent 649ebbf commit 36a33c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions principal/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ func WithTLSRootCaFromFile(caPath string) ServerOption {
if !ok {
return fmt.Errorf("invalid certificate data in %s", caPath)
}
//nolint:staticcheck
log().Infof("Loaded %d cert(s) into the root CA pool", len(o.options.rootCa.Subjects()))
return nil
}
Expand Down
2 changes: 1 addition & 1 deletion principal/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type Server struct {
// noAuthEndpoints is a list of endpoints that are available without the need
// for the request to be authenticated.
var noAuthEndpoints = map[string]bool{
// "/versionapi.Version/Version": true,
"/versionapi.Version/Version": true,
"/authapi.Authentication/Authenticate": true,
}

Expand Down

0 comments on commit 36a33c7

Please sign in to comment.