Skip to content

security/password: trim down dependencies further#80760

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
knz:20220429-pw
Apr 29, 2022
Merged

security/password: trim down dependencies further#80760
craig[bot] merged 1 commit intocockroachdb:masterfrom
knz:20220429-pw

Conversation

@knz
Copy link
Copy Markdown
Contributor

@knz knz commented Apr 28, 2022

This removes many more indirect dependencies by not requiring
quotapool and util/log.

Release note: None

@knz knz requested a review from ZhouXing19 April 28, 2022 23:29
@knz knz requested a review from a team as a code owner April 28, 2022 23:29
@knz knz requested review from a team April 28, 2022 23:29
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Collaborator

@ZhouXing19 ZhouXing19 left a comment

Choose a reason for hiding this comment

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

:lgtm_strong: Thanks for making this!

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @knz and @ZhouXing19)


pkg/security/password.go line 220 at r1 (raw file):

			return nil, err
		}
		return alloc.Release, err

nit: should return alloc.Release, nil

@ZhouXing19
Copy link
Copy Markdown
Collaborator

pkg/security/password.go line 220 at r1 (raw file):

Previously, ZhouXing19 (Jane Xing) wrote…

nit: should return alloc.Release, nil

Done.

This removes many more indirect dependencies by not requiring
quotapool and util/log.

Release note: None
@ajwerner
Copy link
Copy Markdown
Contributor

In #80687 I pull username out of security. I think even with this, it'd be a fine thing to do. Thoughts?

@ZhouXing19
Copy link
Copy Markdown
Collaborator

I think even with this, it'd be a fine thing to do.

Yes I agree, and seems to me that the two PRs do not conflict.

@ZhouXing19
Copy link
Copy Markdown
Collaborator

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Apr 29, 2022

Build succeeded:

@craig craig bot merged commit e0ec899 into cockroachdb:master Apr 29, 2022
@knz knz deleted the 20220429-pw branch April 29, 2022 18:41
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.

4 participants