graph: Rename noop backend to ErrEducationBackend
This commit is contained in:
committed by
Ralf Haferkamp
parent
c3c851286f
commit
b42bf80d0e
@@ -156,8 +156,8 @@ func NewService(opts ...Option) Service {
|
||||
if options.Config.Identity.LDAP.EducationResourcesEnabled {
|
||||
svc.identityEducationBackend = lb
|
||||
} else {
|
||||
noop := &identity.NOOP{}
|
||||
svc.identityEducationBackend = noop
|
||||
errEduBackend := &identity.ErrEducationBackend{}
|
||||
svc.identityEducationBackend = errEduBackend
|
||||
}
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user