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

refactor: Add constant for default exporter port #154

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

dashmage
Copy link
Contributor

As per suggestion in this comment.

Note: The default port is duplicated in both src/charm.py (in the self.model.config.get calls) and config.yaml. Technically, we just need one -- eg: provide default value in config.yaml and call self.model.config.get without any default. I'm leaving it as is for now.

Copy link
Contributor

@rgildein rgildein left a comment

Choose a reason for hiding this comment

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

LGTM

@dashmage dashmage merged commit a241bd7 into canonical:master Jan 30, 2024
5 checks passed
@dashmage dashmage deleted the refactor/add-port-constant branch January 30, 2024 03:27
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.

3 participants