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

OCEANWATER-837 Fix for identify sample crash #75

Merged

Conversation

AstroStucky
Copy link
Contributor

Linked Issues:

EPIC ⚡ N / A
Jira Ticket 🎟️ OCEANWATER-837
Github :octocat: #

Summary of Changes

  • Fixed a member variable reference

Test

No test necessary, and testing might be difficult since it is a seldom executed line of code. Just review the change and ensure it's correct.

@@ -106,7 +106,7 @@ def site_imaging_callback(self, rect_img_msg, points2_msg):

#prevent our image history from getting too large saves most recent HISTORY_MAX_LENGTH images
if len(self.image_history) > self.HISTORY_MAX_LENGTH:
self.image_history = self.image_history[-HISTORY_MAX_LENGTH:]
self.image_history = self.image_history[-self.HISTORY_MAX_LENGTH:]
Copy link
Contributor

Choose a reason for hiding this comment

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

Obviously!

@AstroStucky
Copy link
Contributor Author

One review is fine for such a small PR. Thanks @Samahu!

@AstroStucky AstroStucky merged commit a63424e into releases/release-9-0 Nov 17, 2021
@AstroStucky AstroStucky deleted the OCEANWATER-837_fix_identify_sample_crash branch November 17, 2021 18:34
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.

2 participants