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:
parent
c976514d20
commit
f41b6130ae
@ -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
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user