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

Renovate/master go go.opentelemetry.io contrib instrumentation net http otelhttp vulnerability #142

Conversation

mingshuoqiu
Copy link
Contributor

Problem:
Fix the compile error caused by module dependency #135 (comment)

Solution:
Add and update the required packages

Related Issue:

Test plan:

otelhttp requires the otel, k8s.io and wrangler to be updated.

Signed-off-by: Chris Chiu <[email protected]>
fix the compile error since the indexeres.VMByNetworkIndex is
deprecated since harvester 1.4.0

pkg/utils/vmi.go:23:34: undefined: indexeres.VMByNetworkIndex
pkg/utils/vmi.go:27:47: undefined: indexeres.VMByNetworkIndex
pkg/utils/vmi.go:32:50: undefined: indexeres.VMByNetworkIndex
FATA[0126] exit status 1
make: *** [Makefile:11: ci] Error 1

Signed-off-by: Chris Chiu <[email protected]>
@mingshuoqiu mingshuoqiu force-pushed the renovate/master-go-go.opentelemetry.io-contrib-instrumentation-net-http-otelhttp-vulnerability branch from 894c665 to 490938d Compare January 6, 2025 11:54
Copy link
Member

@starbops starbops left a comment

Choose a reason for hiding this comment

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

LGTM, just one nit. Thank you.

@@ -49,3 +53,15 @@ func (v *VmiGetter) WhoUseNad(nad *nadv1.NetworkAttachmentDefinition, nodesFilte

return afterFilter, nil
}

func vmiByNetwork(obj *kubevirtv1.VirtualMachineInstance) ([]string, error) {
Copy link
Member

Choose a reason for hiding this comment

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

Do we want to align the naming between the label and the function to both vmi?

@bk201
Copy link
Member

bk201 commented Jan 8, 2025

I guess the PR should just target the right stable branch or master, not to the renovate branch

@mingshuoqiu
Copy link
Contributor Author

Create a new PR to fix the merge base

@mingshuoqiu mingshuoqiu closed this Jan 9, 2025
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