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

DATA-3338-fix-stability-of-vision-capture-all-from-camera #4514

Conversation

nicksanford
Copy link
Member

No description provided.

@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Oct 31, 2024
Comment on lines 415 to 428
// // We special-case the GetReadingsResponse because it already contains
// // structpb.Values in it, and the StructToStructPb logic does not handle
// // that cleanly.
// topLevelMap := make(map[string]*structpb.Value)
// topLevelMap["readings"] = structpb.NewStructValue(
// &structpb.Struct{Fields: reading.(pb.GetReadingsResponse).Readings},
// )
// pbReading = &structpb.Struct{Fields: topLevelMap}
// } else {
// pbReading, err = protoutils.StructToStructPbIgnoreOmitEmpty(reading)
// if err != nil {
// c.captureErrors <- errors.Wrap(err, "error while converting reading to structpb.Struct")
// return
// }
Copy link
Member Author

Choose a reason for hiding this comment

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

TODO: Update collectors that return GetReadings to format their response appropriately

@nicksanford nicksanford force-pushed the DATA-3338-fix-stability-of-vision-capture-all-from-camera branch from 4284ac7 to 1d17e45 Compare November 4, 2024 19:17
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Nov 4, 2024
@nicksanford nicksanford force-pushed the DATA-3338-fix-stability-of-vision-capture-all-from-camera branch from ab96093 to 90109b1 Compare November 11, 2024 20:15
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Nov 11, 2024
@nicksanford nicksanford force-pushed the DATA-3338-fix-stability-of-vision-capture-all-from-camera branch from 90109b1 to 2ccf1f4 Compare November 14, 2024 21:36
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Nov 14, 2024
@nicksanford
Copy link
Member Author

moved here: #4557

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants