-
Notifications
You must be signed in to change notification settings - Fork 70
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-70010: iam users describe #384
Conversation
…ocli into CLOUDP-70013-iam-users-list
…ocli into CLOUDP-70013-iam-users-list
…ocli into CLOUDP-70013-iam-users-list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of nits here and there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One big thing I just caught, we may be forcing users to have a ProjectID set for this command
@gssbzn ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small nit with the test but we can address that later
if err := json.Unmarshal(resp, &user); err != nil { | ||
t.Fatalf("unexpected error: %v", err) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nit] can you please check that the username matches the one you asked for?
if err := json.Unmarshal(resp, &user); err != nil { | ||
t.Fatalf("unexpected error: %v", err) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nit] similar to above, right now we only check it doesn't error but we should also check the data, at least the id matches
I will address those comments here #389 |
Proposed changes
Jira ticket: CLOUDP-70010
Checklist
make fmt
and formatted my codeFurther comments
OM:
Atlas: