Skip to content

Commit

Permalink
Remove erroneously included 'dashboardconfig' model from backup.
Browse files Browse the repository at this point in the history
Correct minor typos in logger.info statements.
  • Loading branch information
FroggyFlox committed Jan 14, 2020
1 parent 42c80ac commit bffa186
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/rockstor/storageadmin/views/config_backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def restore_rockons(ml):
"""
logger.info('Started restoring rock-ons.')
rockons = validate_rockons(ml)
logger.info('The following rock-ons will be resotred: ({}).'.format(rockons))
logger.info('The following rock-ons will be restored: {}.'.format(rockons))
if len(rockons) > 0:
for rid in rockons:
# Get config for initial install
Expand Down Expand Up @@ -278,7 +278,7 @@ def rockon_transition_checker(rid, rockons):

@task()
def restore_install_rockon(rid, rockons, command):
logger.info('Send {} command to the rock-ons api for the following rock-on {}'.format(command, rockons[rid]['rname']))
logger.info('Send {} command to the rock-ons api for the following rock-on: {}'.format(command, rockons[rid]['rname']))
generic_post('{}/rockons/{}/{}'.format(BASE_URL, rockons[rid]['new_rid'], command), rockons[rid])


Expand Down
1 change: 0 additions & 1 deletion src/rockstor/system/config_backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def backup_config():
"nfsexport",
"nfsexportgroup",
"advancednfsexport",
'dashboardconfig',
'rockon',
'dcontainer',
'dcustomconfig',
Expand Down

0 comments on commit bffa186

Please sign in to comment.