remove unused function

This commit is contained in:
Girish Ramakrishnan
2019-10-07 22:06:36 -07:00
parent 49e5c60422
commit a19205e3ad
-8
View File
@@ -305,14 +305,6 @@ function validateRobotsTxt(robotsTxt) {
return null;
}
function validateBackupFormat(format) {
assert.strictEqual(typeof format, 'string');
if (format === 'tgz' || format == 'rsync') return null;
return new AppsError(AppsError.BAD_FIELD, 'Invalid backup format');
}
function validateLabel(label) {
if (label === null) return null;