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 klog.V(x) references for klog v2 #38

Merged

Conversation

dims
Copy link
Contributor

@dims dims commented Apr 14, 2020

klog.V(x) is no longer a boolean. We need to use the .Enabled() method

@dims
Copy link
Contributor Author

dims commented Apr 14, 2020

/assign @bowei @spencerhance

cc @tanjunchen @serathius

@tanjunchen
Copy link
Contributor

get it

@bowei
Copy link
Member

bowei commented Apr 15, 2020

This is not quite sufficient -- you need to fix references in the code generator.

@dims dims force-pushed the fix-klog-boolean-references-for-klog-v2 branch from ea3f164 to 1c1934f Compare April 15, 2020 11:48
@dims
Copy link
Contributor Author

dims commented Apr 15, 2020

@bowei thanks! pulled in your two commits.

@dims dims force-pushed the fix-klog-boolean-references-for-klog-v2 branch from 1c1934f to 5bc0e11 Compare April 15, 2020 12:14
V(x).Enabled() instead of a raw V(x)

Signed-off-by: Davanum Srinivas <[email protected]>
@dims dims force-pushed the fix-klog-boolean-references-for-klog-v2 branch from 5bc0e11 to 07dcba3 Compare April 15, 2020 12:17
@bowei bowei merged commit 40c9792 into GoogleCloudPlatform:master Apr 15, 2020
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.

3 participants