rename flat-file to rsync
not a name I like but cannot come up with anything better https://en.wikipedia.org/wiki/Flat_file_database the term 'rsync format' seems to be used in a few places
This commit is contained in:
+1
-1
@@ -119,7 +119,7 @@ function testConfig(backupConfig, callback) {
|
||||
var func = api(backupConfig.provider);
|
||||
if (!func) return callback(new BackupsError(BackupsError.BAD_FIELD, 'unknown storage provider'));
|
||||
|
||||
if (backupConfig.format !== 'tgz' && backupConfig.format !== 'flat-file') return callback(new BackupsError(BackupsError.BAD_FIELD, 'unknown format'));
|
||||
if (backupConfig.format !== 'tgz' && backupConfig.format !== 'rsync') return callback(new BackupsError(BackupsError.BAD_FIELD, 'unknown format'));
|
||||
|
||||
api(backupConfig.provider).testConfig(backupConfig, callback);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user