mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-25 00:46:37 -04:00
Fix sonarcloud comment nitpick.
This commit is contained in:
@@ -124,7 +124,7 @@ func (i *ErrEducationBackend) GetEducationClassTeachers(ctx context.Context, cla
|
||||
return nil, errNotImplemented
|
||||
}
|
||||
|
||||
// AddTeacherToEducationclass implements the EducationBackend interface for the ErrEducationBackend backend.
|
||||
// AddTeacherToEducationClass implements the EducationBackend interface for the ErrEducationBackend backend.
|
||||
func (i *ErrEducationBackend) AddTeacherToEducationClass(ctx context.Context, classID string, teacherID string) error {
|
||||
return errNotImplemented
|
||||
}
|
||||
|
||||
@@ -366,7 +366,7 @@ func (i *LDAP) GetEducationClassTeachers(ctx context.Context, classID string) ([
|
||||
|
||||
}
|
||||
|
||||
// AddTeacherToEducationclass adds a teacher (by ID) to class in the identity backend.
|
||||
// AddTeacherToEducationClass adds a teacher (by ID) to class in the identity backend.
|
||||
func (i *LDAP) AddTeacherToEducationClass(ctx context.Context, classID string, teacherID string) error {
|
||||
logger := i.logger.SubloggerWithRequestID(ctx)
|
||||
class, err := i.getEducationClassByID(classID, false)
|
||||
|
||||
Reference in New Issue
Block a user