rename sync back to process
This commit is contained in:
@@ -10,9 +10,9 @@ import (
|
||||
"go.equinixmetal.net/infra9-metal-bridge/internal/permissions"
|
||||
)
|
||||
|
||||
// syncMemberships determines the changes between what is wanted and what is live and executes on the differences.
|
||||
// processMemberships determines the changes between what is wanted and what is live and executes on the differences.
|
||||
// If skipDeletions is true, no deletes will be executed.
|
||||
func (s *service) syncMemberships(ctx context.Context, relationships Relationships, skipDeletions bool) (int, int) {
|
||||
func (s *service) processMemberships(ctx context.Context, relationships Relationships, skipDeletions bool) (int, int) {
|
||||
if len(relationships.Memberships) == 0 {
|
||||
return 0, 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user