From 82e312ac2fe64985f57c471029b56d14dddd5799 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sw=C3=A4rd?= Date: Fri, 10 Feb 2023 11:50:46 +0100 Subject: [PATCH] Fix sonarcloud comment nitpick. --- services/graph/pkg/identity/err_education.go | 2 +- services/graph/pkg/identity/ldap_education_class.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/graph/pkg/identity/err_education.go b/services/graph/pkg/identity/err_education.go index 297ca88696..b1ed28da04 100644 --- a/services/graph/pkg/identity/err_education.go +++ b/services/graph/pkg/identity/err_education.go @@ -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 } diff --git a/services/graph/pkg/identity/ldap_education_class.go b/services/graph/pkg/identity/ldap_education_class.go index 677c2ff70a..5288de4d18 100644 --- a/services/graph/pkg/identity/ldap_education_class.go +++ b/services/graph/pkg/identity/ldap_education_class.go @@ -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)