diff --git a/management/server/account.go b/management/server/account.go index c145c1bd789..20bd15ad698 100644 --- a/management/server/account.go +++ b/management/server/account.go @@ -278,7 +278,7 @@ func (a *Account) getRoutesToSync(peerID string, aclPeers []*nbpeer.Peer) []*rou return routes } -// filterRoutesByHAMembership filters and returns a list of routes that don't share the same HA route membership +// filterRoutesFromPeersOfSameHAGroup filters and returns a list of routes that don't share the same HA route membership func (a *Account) filterRoutesFromPeersOfSameHAGroup(routes []*route.Route, peerMemberships lookupMap) []*route.Route { var filteredRoutes []*route.Route for _, r := range routes { diff --git a/management/server/idp/okta.go b/management/server/idp/okta.go index d20ee7e4839..c8d33a207e3 100644 --- a/management/server/idp/okta.go +++ b/management/server/idp/okta.go @@ -273,7 +273,7 @@ func (om *OktaManager) DeleteUser(userID string) error { return nil } -// parseOktaUserToUserData parse okta user to UserData. +// parseOktaUser parse okta user to UserData. func parseOktaUser(user *okta.User) (*UserData, error) { var oktaUser struct { Email string `json:"email"` diff --git a/management/server/mock_server/account_mock.go b/management/server/mock_server/account_mock.go index 8e7c47a280a..8687937dc49 100644 --- a/management/server/mock_server/account_mock.go +++ b/management/server/mock_server/account_mock.go @@ -706,7 +706,7 @@ func (am *MockAccountManager) GetIdpManager() idp.Manager { return nil } -// UpdateIntegratedValidatedGroups mocks UpdateIntegratedApprovalGroups of the AccountManager interface +// UpdateIntegratedValidatorGroups mocks UpdateIntegratedApprovalGroups of the AccountManager interface func (am *MockAccountManager) UpdateIntegratedValidatorGroups(accountID string, userID string, groups []string) error { if am.UpdateIntegratedValidatorGroupsFunc != nil { return am.UpdateIntegratedValidatorGroupsFunc(accountID, userID, groups)