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

Sync Master to Dev #349

Merged
merged 4 commits into from
Nov 19, 2024
Merged

Sync Master to Dev #349

merged 4 commits into from
Nov 19, 2024

Conversation

normj
Copy link
Member

@normj normj commented Nov 19, 2024

Description of changes:
Sync the dev branch after releasing the SnapStart work for Amazon.Lambda.Tools

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.


if (!string.Equals(existingConfiguration?.SnapStart?.ApplyOn?.Value, snapStartApplyOn, StringComparison.Ordinal))
{
request.SnapStart.ApplyOn = snapStartApplyOn;
Copy link
Contributor

@boblodgett boblodgett Nov 19, 2024

Choose a reason for hiding this comment

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

Can existingConfiguration.SnapStart be null here based on the if check? Or does it need to be request.SnapStart?

Copy link
Member Author

Choose a reason for hiding this comment

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

existingConfiguration.SnapStart is right. We are checking to see if the specified by the user value snapStartApplyOn is different what is current set on the function ``existingConfiguration.SnapStart. If they are then set the new value on the patch update request` object.

@normj normj merged commit 7e156ef into dev Nov 19, 2024
4 checks passed
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.

3 participants