minor fixes #9268
Annotations
7 errors
Running make gen:
internal/server/repository_workerauth.go#L33
cannot use (*WorkerAuthRepositoryStorage)(nil) (value of type *WorkerAuthRepositoryStorage) as nodeenrollment.Storage value in variable declaration: *WorkerAuthRepositoryStorage does not implement nodeenrollment.Storage (wrong type for method Load)
|
Running make gen:
internal/server/repository_workerauth.go#L536
opts.WithRemoveUnusedCredentials undefined (type *nodeenrollment.Options has no field or method WithRemoveUnusedCredentials)
|
Running make gen:
internal/server/repository_worker.go#L653
cannot use workerAuthRepo (variable of type *WorkerAuthRepositoryStorage) as nodeenrollment.Storage value in argument to registration.AuthorizeNode: *WorkerAuthRepositoryStorage does not implement nodeenrollment.Storage (wrong type for method Load)
|
Running make gen:
internal/server/service_rotate_roots.go#L47
cannot use workerAuthRepo (variable of type *WorkerAuthRepositoryStorage) as nodeenrollment.Storage value in argument to rotation.RotateRootCertificates: *WorkerAuthRepositoryStorage does not implement nodeenrollment.Storage (wrong type for method Load)
|
Running make gen:
internal/server/testing.go#L190
cannot use rootStorage (variable of type *WorkerAuthRepositoryStorage) as nodeenrollment.Storage value in argument to rotation.RotateRootCertificates: *WorkerAuthRepositoryStorage does not implement nodeenrollment.Storage (wrong type for method Load)
|
Running make gen:
internal/server/testing.go#L204
cannot use rootStorage (variable of type *WorkerAuthRepositoryStorage) as nodeenrollment.Storage value in argument to registration.AuthorizeNode: *WorkerAuthRepositoryStorage does not implement nodeenrollment.Storage (wrong type for method Load)
|
Running make gen
Process completed with exit code 2.
|
Loading