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

feat(crons): Allow specifying checkin environment #1599

Conversation

evanpurkhiser
Copy link
Member

@evanpurkhiser evanpurkhiser commented May 2, 2023

Fixes #1564

@evanpurkhiser evanpurkhiser requested a review from a team May 2, 2023 18:51
@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/feat-crons-allow-specifying-checkin-environment branch from 9ff503c to fa588fd Compare May 2, 2023 18:58
@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/feat-crons-allow-specifying-checkin-environment branch from fa588fd to 13b2b61 Compare May 2, 2023 20:02
@@ -2503,6 +2505,8 @@ pub struct UpdateMonitorCheckIn {
pub status: Option<MonitorCheckinStatus>,
#[serde(skip_serializing_if = "Option::is_none")]
pub duration: Option<u64>,
#[serde(skip_serializing_if = "Option::is_none")]
pub environment: Option<String>,
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is it Option if we have a default value?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's not absolutely required to send, this reflects that should the API be used anywhere else

@evanpurkhiser evanpurkhiser merged commit c6c9a1e into master May 5, 2023
@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/feat-crons-allow-specifying-checkin-environment branch May 5, 2023 19:42
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.

Crons: Add Support for Environments
2 participants