Skip to content

fix: properly convert max port share level for oss #13261

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

Merged
merged 2 commits into from
May 13, 2024

Conversation

f0ssel
Copy link
Contributor

@f0ssel f0ssel commented May 13, 2024

Closes #13259

In the database we default to owner for the max port sharing level for existing and new templates. In OSS, the only valid option is public because changing max port share level is an enterprise feature. This change ensures we always return public for OSS and return the db value for Enterprise.

@@ -10,6 +10,7 @@ import (
type PortSharer interface {
Copy link
Member

Choose a reason for hiding this comment

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

We should remove PortSharing from all of these interface function names.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure thing

@f0ssel f0ssel merged commit ebee928 into main May 13, 2024
27 checks passed
@f0ssel f0ssel deleted the f0ssel/oss-max-port-level branch May 13, 2024 18:37
@github-actions github-actions bot locked and limited conversation to collaborators May 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

public port sharing not available on OSS deployment
2 participants