Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for issue #108 #109

Merged
merged 2 commits into from
Aug 12, 2021
Merged

Fix for issue #108 #109

merged 2 commits into from
Aug 12, 2021

Conversation

erzhan46
Copy link
Contributor

@erzhan46 erzhan46 commented Aug 5, 2021

Added if block to skip records with empty displayName.

@@ -191,6 +191,10 @@ func (a *AzureSyncer) Sync() ([]userv1.Group, error) {

groupName := group.DisplayName

if groupName == nil {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a warning message similar to

azureLogger.Info(fmt.Sprintf("Warning: Username for user cannot be found in Group ID '%v'", *groupID))

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the warning - please review.

@erzhan46 erzhan46 requested a review from sabre1041 August 6, 2021 12:13
Copy link
Collaborator

@sabre1041 sabre1041 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants