Skip to content

Conversation

@fujita
Copy link
Member

@fujita fujita commented Nov 2, 2025

The ApplyPolicy field in the API Global structure was added as an equivalent to config.Global.ApplyPolicy used in file-based configuration. However, unlike file-based configuration, API-based configuration is designed to be set through multiple policy-related APIs such as AddPolicy, making ApplyPolicy inappropriate and unused in the API context. Therefore, it should be removed.

The ApplyPolicy field in the API Global structure was added as an
equivalent to config.Global.ApplyPolicy used in file-based
configuration. However, unlike file-based configuration, API-based
configuration is designed to be set through multiple policy-related
APIs such as AddPolicy, making ApplyPolicy inappropriate and unused in
the API context. Therefore, it should be removed.

Signed-off-by: FUJITA Tomonori <[email protected]>
@fujita fujita merged commit e38ad7c into osrg:master Nov 2, 2025
40 checks passed
@fujita fujita deleted the remove-global-applypolicy branch November 2, 2025 12:22
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