Merge ~vultaire/charm-mongodb:share-version-with-client into ~mongodb-charmers/charm-mongodb:master

Proposed by Paul Goins
Status: Merged
Approved by: Jeremy Lounder
Approved revision: 15dd60158d33c1b7797db8b8957a37a5ec552a78
Merged at revision: 06175a585ae5bddec54792325b08f83d0a005a01
Proposed branch: ~vultaire/charm-mongodb:share-version-with-client
Merge into: ~mongodb-charmers/charm-mongodb:master
Diff against target: 12 lines (+1/-0)
1 file modified
hooks/hooks.py (+1/-0)
Reviewer Review Type Date Requested Status
Jeremy Lounder (community) Approve
Giuseppe Petralia Approve
Review via email: mp+373023@code.launchpad.net

Commit message

Share MongoDB version with client

To post a comment you must log in.
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

This merge proposal is being monitored by mergebot. Change the status to Approved to merge.

Revision history for this message
Giuseppe Petralia (peppepetra) wrote :

lgtm

review: Approve
Revision history for this message
Jeremy Lounder (jldev) :
review: Approve
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change successfully merged at revision 06175a585ae5bddec54792325b08f83d0a005a01

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/hooks/hooks.py b/hooks/hooks.py
2index 25e1d69..3c3a493 100755
3--- a/hooks/hooks.py
4+++ b/hooks/hooks.py
5@@ -1148,6 +1148,7 @@ def database_relation_joined():
6 relation_data = {'hostname': my_hostname,
7 'port': my_port,
8 'type': 'database',
9+ 'version': get_mongod_version(),
10 }
11
12 if len(peer_units('replica-set')) > 1:

Subscribers

People subscribed via source and target branches

to status/vote changes: