fix: set the default value of user.Groups for syncer (#2016)

fix: set the default value of user.Groups for syncer
This commit is contained in:
XDTD
2023-06-24 18:29:50 +08:00
committed by GitHub
parent 68f032b54d
commit d1e734e4ce

View File

@ -170,6 +170,7 @@ func (syncer *Syncer) getOriginalUsersFromMap(results []map[string]string) []*Or
originalUser := &OriginalUser{ originalUser := &OriginalUser{
Address: []string{}, Address: []string{},
Properties: map[string]string{}, Properties: map[string]string{},
Groups: []string{},
} }
for _, tableColumn := range syncer.TableColumns { for _, tableColumn := range syncer.TableColumns {