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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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