minor fixes #1017
Annotations
10 errors
Test:
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)
|
Test:
internal/server/repository_workerauth.go#L536
opts.WithRemoveUnusedCredentials undefined (type *nodeenrollment.Options has no field or method WithRemoveUnusedCredentials)
|
Test:
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)
|
Test:
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)
|
Test:
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)
|
Test:
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)
|
Test:
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)
|
Test:
internal/server/repository_workerauth.go#L536
opts.WithRemoveUnusedCredentials undefined (type *nodeenrollment.Options has no field or method WithRemoveUnusedCredentials)
|
Test:
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)
|
Test:
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)
|
Loading