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

Nested policy configuration #6

Merged
merged 4 commits into from
Sep 2, 2024
Merged

Nested policy configuration #6

merged 4 commits into from
Sep 2, 2024

Conversation

glebkin
Copy link
Owner

@glebkin glebkin commented Sep 2, 2024

Get nested policy configuration back:

example.org {
    fanout . 127.0.0.1:9005 127.0.0.1:9006 127.0.0.1:9007 {
      policy weighted-random {
        server-count 2
        load-factor 50 70 100
      }
    }
}

Instead of:

example.org {
    fanout . 127.0.0.1:9005 127.0.0.1:9006 127.0.0.1:9007 {
      policy weighted-random
      weighted-random-server-count 2
      weighted-random-load-factor 50 70 100
    }
}

This reverts commit 3d1ffcb.
This reverts commit 53a1c2a.
Fix setup_test.go

Signed-off-by: Gleb Kogtev <gleb.kogtev@gmail.com>
@glebkin glebkin merged commit 48958d5 into main Sep 2, 2024
12 checks passed
@glebkin glebkin deleted the fix/review-fixes branch September 2, 2024 14:53
glebkin added a commit that referenced this pull request Sep 3, 2024
glebkin added a commit that referenced this pull request Sep 3, 2024
This reverts commit 48958d5.
---------

Signed-off-by: Gleb Kogtev <gleb.kogtev@gmail.com>
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.

1 participant