-
Notifications
You must be signed in to change notification settings - Fork 251
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
CDP-8328: Emit normandie and knox statuses inside pings #1771
base: master
Are you sure you want to change the base?
Conversation
7ee8844
to
02a0b5f
Compare
02a0b5f
to
65f297b
Compare
agentVersion=None, autoscalingGroup=None, availabilityZone=None, ec2Tags=None, stageType=None, | ||
accountId=None, normandieStatus=None, knoxStatus=None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: indentation looks slightly off here
try: | ||
self._normandie_status = self.get_normandie_status() | ||
except Exception as e: | ||
log.exception(f"Failed to get normandie status.: {e}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log.exception(f"Failed to get normandie status.: {e}") | |
log.exception(f"Failed to get normandie status: {e}") |
try: | ||
self._knox_status = self.get_knox_status() | ||
except Exception as e: | ||
log.exception(f"Failed to get knox status.: {e}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log.exception(f"Failed to get knox status.: {e}") | |
log.exception(f"Failed to get knox status: {e}") |
Same as #1759 but with better error handling