Fix lint errors
This commit is contained in:
@@ -30,7 +30,8 @@ type Store struct {
|
||||
certificatePaths []string
|
||||
certificateDirectoryPaths []string
|
||||
watcher *fswatch.Watcher
|
||||
platform storePlatform
|
||||
//nolint:unused // populated only on darwin && cgo via the storePlatform embed.
|
||||
platform storePlatform
|
||||
}
|
||||
|
||||
func NewStore(ctx context.Context, logger logger.Logger, options option.CertificateOptions) (*Store, error) {
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
package certificate
|
||||
|
||||
//nolint:unused // referenced by Store.platform; populated only in store_darwin.go.
|
||||
type storePlatform struct{}
|
||||
|
||||
func (s *Store) updatePlatformLocked(_ []byte) error {
|
||||
|
||||
Reference in New Issue
Block a user