update extension to use new offlineConfiguratin and offline property names (#17316)

This commit is contained in:
stuti149
2021-10-15 02:38:24 +05:30
committed by GitHub
parent af8611455c
commit 5de8d82417
4 changed files with 12 additions and 12 deletions

View File

@@ -23,5 +23,5 @@ export function getMigrationTargetType(migration: MigrationContext): string {
}
export function getMigrationMode(migration: MigrationContext): string {
return migration.migrationContext.properties.autoCutoverConfiguration?.autoCutover?.valueOf() ? loc.OFFLINE : loc.OFFLINE;
return migration.migrationContext.properties.offlineConfiguration?.offline?.valueOf() ? loc.OFFLINE : loc.OFFLINE;
}