Fix sonarcloud comment nitpick.

This commit is contained in:
Daniel Swärd
2023-02-10 11:50:46 +01:00
parent a21f485d2c
commit 82e312ac2f
2 changed files with 2 additions and 2 deletions

View File

@@ -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
}

View File

@@ -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)