Fixed syncsecondary and readable secondary notebook params (#19899)

Co-authored-by: Candice Ye <canye@microsoft.com>
This commit is contained in:
Candice Ye
2022-06-30 16:31:39 -07:00
committed by GitHub
parent dc006be73e
commit 7eed81c560
2 changed files with 4 additions and 4 deletions

View File

@@ -114,8 +114,8 @@
"cores_limit_option = f' --cores-limit \"{sql_cores_limit}\"' if sql_cores_limit else \"\"\n",
"memory_request_option = f' --memory-request \"{sql_memory_request}Gi\"' if sql_memory_request else \"\"\n",
"memory_limit_option = f' --memory-limit \"{sql_memory_limit}Gi\"' if sql_memory_limit else \"\"\n",
"readable_secondaries = f' --readable-secondaries \"{readable_secondaries}\"' if readable_secondaries else \"\"\n",
"sync_secondary_to_commit = f' --sync-secondary-to-commit \"{sync_secondary_to_commit}\"' if sync_secondary_to_commit else \"\"\n",
"readable_secondaries = f' --readable-secondaries \"{sql_readable_secondaries}\"' if sql_readable_secondaries else \"\"\n",
"sync_secondary_to_commit = f' --sync-secondary-to-commit \"{sql_sync_secondary_to_commit}\"' if sql_sync_secondary_to_commit else \"\"\n",
"\n",
"storage_class_data_option = f' --storage-class-data \"{sql_storage_class_data}\"'if sql_storage_class_data else \"\"\n",
"storage_class_datalogs_option = f' --storage-class-datalogs \"{sql_storage_class_datalogs}\"'if sql_storage_class_datalogs else \"\"\n",

View File

@@ -1181,7 +1181,7 @@
{
"label": "%arc.sql.readable.secondaries.label%",
"description": "%arc.sql.readable.secondaries.description%",
"variableName": "AZDATA_NB_VAR_READABLE_SECONDARIES",
"variableName": "AZDATA_NB_VAR_SQL_READABLE_SECONDARIES",
"type": "options",
"editable": false,
"options": {
@@ -1240,7 +1240,7 @@
{
"label": "%arc.sql.sync.secondaries.label%",
"description": "%arc.sql.sync.secondaries.description%",
"variableName": "AZDATA_NB_VAR_SYNC_SECONDARY_TO_COMMIT",
"variableName": "AZDATA_NB_VAR_SQL_SYNC_SECONDARY_TO_COMMIT",
"type": "options",
"editable": false,
"options": {