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

Add ZeroDowntimeFailover field to SessionAffinityAttributes #857

Merged
merged 1 commit into from
Apr 14, 2022

Conversation

tingwai
Copy link
Contributor

@tingwai tingwai commented Apr 14, 2022

Description

Add new API field called ZeroDowntimeFailover to SessionAffinityAttributes in LoadBalancer

Has your change been tested?

Updated load balancing tests verify input field matches the returning JSON/struct.

Types of changes

What sort of change does your code introduce/modify?

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • This change is using publicly documented (api.cloudflare.com or developers.cloudflare.com) and stable APIs.

@jacobbednarz
Copy link
Member

i'm watching the PR internally for this and it will be released next week.

thanks @tingwai 👏

@jacobbednarz jacobbednarz merged commit f6f9409 into cloudflare:master Apr 14, 2022
@@ -1470,7 +1474,8 @@ func TestModifyLoadBalancer(t *testing.T) {
"session_affinity": "none",
"session_affinity_attributes": {
"samesite": "Strict",
"secure": "Always"
"secure": "Always",
"zero_downtime_failover": "sticky"
Copy link
Contributor

Choose a reason for hiding this comment

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

There's some inconsistent indentation here and below.

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.

None yet

3 participants