We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e94672 commit 8b17328Copy full SHA for 8b17328
src/Saas.Lib/Deployment.Script.Modules/storage-module.sh
@@ -191,6 +191,15 @@ function backup-to-azure-blob-storage() {
191
--level info \
192
--header "Backup to Azure Blob Storage"
193
194
+ if [[ "${storage_account_name}" == "null" ]] ||
195
+ [[ "${container_name}" == "null" ]]; then
196
+ echo "Azure Blob Storage or container is not created (null)" |
197
+ log-output \
198
+ --level error \
199
+ --header "Critial error"
200
+ exit 1
201
+ fi
202
+
203
zip_file_name="${directory}/log-${ASDK_DEPLOYMENT_SCRIPT_RUN_TIME}.zip"
204
205
zip -r -j "${zip_file_name}" "${directory}" >/dev/null ||
0 commit comments