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

[bugfix] Optimize gc method at port group and node #4722

Merged
merged 3 commits into from
Nov 13, 2024

Conversation

cmdy
Copy link
Contributor

@cmdy cmdy commented Nov 11, 2024

Pull Request

What type of this PR

Examples of user facing changes:

  • Bug fixes

Which issue(s) this PR fixes

#4694
#4714

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. bug Something isn't working labels Nov 11, 2024
@cmdy
Copy link
Contributor Author

cmdy commented Nov 11, 2024

@bobz965 @oilbeater please review my code

@@ -249,11 +249,21 @@ func (c *Controller) gcNode() error {
klog.Errorf("failed to list logical router policies on lr %s: %v", c.config.ClusterRouter, err)
return err
}
gatewatyRouterPolicies, err := c.OVNNbClient.ListLogicalRouterPolicies(c.config.ClusterRouter, util.GatewayRouterPolicyPriority, map[string]string{"vendor": util.CniTypeName}, false)
Copy link
Collaborator

Choose a reason for hiding this comment

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

wrong name gatewatyRouterPolicies --> gatewayRouterPolicies

@cmdy cmdy requested a review from zbb88888 November 12, 2024 07:19
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 12, 2024
@oilbeater oilbeater merged commit ccb8573 into kubeovn:master Nov 13, 2024
64 checks passed
oilbeater pushed a commit that referenced this pull request Nov 13, 2024
* [bugfix] Optimize gc method at  port group and node

Signed-off-by: cmdy <[email protected]>

* skip the centralized subnet policy

Signed-off-by: cmdy <[email protected]>

* fix gatewayRouterPolicies spelling error

Signed-off-by: cmdy <[email protected]>

---------

Signed-off-by: cmdy <[email protected]>
oilbeater pushed a commit that referenced this pull request Nov 14, 2024
* [bugfix] Optimize gc method at  port group and node

Signed-off-by: cmdy <[email protected]>

* skip the centralized subnet policy

Signed-off-by: cmdy <[email protected]>

* fix gatewayRouterPolicies spelling error

Signed-off-by: cmdy <[email protected]>

---------

Signed-off-by: cmdy <[email protected]>
Signed-off-by: oilbeater <[email protected]>
zbb88888 pushed a commit that referenced this pull request Dec 4, 2024
* [bugfix] Optimize gc method at  port group and node

Signed-off-by: cmdy <[email protected]>

* skip the centralized subnet policy

Signed-off-by: cmdy <[email protected]>

* fix gatewayRouterPolicies spelling error

Signed-off-by: cmdy <[email protected]>

---------

Signed-off-by: cmdy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants