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

CLOUDP-271909: fix deleted user struct #240

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

husniMDB
Copy link
Collaborator

@husniMDB husniMDB commented Sep 6, 2024

Proposed changes

Jira ticket: CLOUDP-271909

Closes #239

Checklist

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works
  • I have added any necessary documentation (if appropriate)
  • I have run make fmt and formatted my code

Further comments

bdaw
bdaw previously approved these changes Sep 6, 2024
Copy link
Collaborator

@bdaw bdaw left a comment

Choose a reason for hiding this comment

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

lgtm

@husniMDB husniMDB force-pushed the CLOUDP-271909_fix_delete_user_struct branch from 9735743 to 281306c Compare September 9, 2024 10:01
@husniMDB husniMDB requested review from bdaw and gssbzn September 9, 2024 10:04
Comment on lines 236 to 237
Username string `json:"user"` //nolint:tagliatelle // used as in the API
Databases []string `json:"dbs"` //nolint:tagliatelle // used as in the API
Copy link
Collaborator

@gssbzn gssbzn Sep 9, 2024

Choose a reason for hiding this comment

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

let's follow tagliatelle

Suggested change
Username string `json:"user"` //nolint:tagliatelle // used as in the API
Databases []string `json:"dbs"` //nolint:tagliatelle // used as in the API
User string `json:"user"`
DBs []string `json:"dbs"`

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

had to keep //nolint for dbs as it's not accepted this way and needs to be dBs

@husniMDB husniMDB force-pushed the CLOUDP-271909_fix_delete_user_struct branch from 281306c to 248cd12 Compare September 10, 2024 07:16
@husniMDB husniMDB requested a review from gssbzn September 10, 2024 07:26
@husniMDB husniMDB merged commit c93a707 into master Sep 10, 2024
3 checks passed
@husniMDB husniMDB deleted the CLOUDP-271909_fix_delete_user_struct branch September 10, 2024 08:28
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.

UsersDeleted field of Automation Config does not work with MongoDBUser struct
3 participants