Skip to content

Commit

Permalink
fix: internal ip for monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
Gu1nness committed Jan 24, 2025
1 parent f549a2e commit 6084aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion single_kernel_mongo/state/charm_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ def backup_config(self) -> MongoConfiguration:
@property
def monitor_config(self) -> MongoConfiguration:
"""Mongo Configuration for the monitoring user."""
return self.mongodb_config_for_user(MonitorUser)
return self.mongodb_config_for_user(MonitorUser, hosts=self.internal_hosts)

@property
def operator_config(self) -> MongoConfiguration:
Expand Down

0 comments on commit 6084aba

Please sign in to comment.