Fix the failure of loading the instance of MongoDbMode

It is failed to load instance of MongoDbMode when the mode is 'mongo' and
loading the mode instance at BackupJob.execute_method. Because the
mod_name=freezer.mode.mongo.MongoMode is not exist, the current
mod_name=freezer.mode.mongo.MongoDbMode. It needs to change the class name
of MongoDbMode to MongoMode

Change-Id: I687f411c98bc1841df5e60937ed87078eae405d6
Closes-Bug: #1589788
This commit is contained in:
zengchen 2016-06-07 11:53:57 +08:00
parent c976514d20
commit f41b6130ae
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ import logging
from freezer.mode import mode
class MongoDbMode(mode.Mode):
class MongoMode(mode.Mode):
"""
Execute the necessary tasks for file system backup mode
"""