Merge "Fix Mongo report_root call to have correct args"

This commit is contained in:
Jenkins 2015-09-23 09:55:00 +00:00 committed by Gerrit Code Review
commit 39253df463

View File

@ -99,7 +99,7 @@ class Manager(periodic_task.PeriodicTasks):
if not cluster_config and backup_info:
self._perform_restore(backup_info, context, mount_point, self.app)
if service.MongoDBAdmin().is_root_enabled():
self.app.status.report_root('root')
self.app.status.report_root(context, 'root')
if not cluster_config and root_password:
LOG.debug('Root password provided. Enabling root.')