-
Notifications
You must be signed in to change notification settings - Fork 712
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 weave tagger crash #976
Conversation
@paulbellamy @tomwilkie PTAL |
prefix, _ := node.Latest.Lookup(docker.ContainerID) | ||
prefix = prefix[:12] | ||
prefix, ok := node.Latest.Lookup(docker.ContainerID) | ||
if !ok { |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
All container nodes should have a docker.ContainerID, but this should be more robust. Please also fix the kubernetes reporter in this PR. |
@tomwilkie I just did :) |
On minor nit, otherwise LGTM. We should have a integration test for scope on k8s, as this isn't something we seem to test with in the normal course of development. |
Fixes #955