File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -166,8 +166,12 @@ main() {
166166 echo " The API_KEY supplied is Unauthorized. Please check and try again. Return Code: ${RETVAL} "
167167 exit 1
168168 fi
169+
169170 curl -ks -H " Authorization: Bearer ${API_KEY} " -H " Content-Type: application/json" " ${API_URL} /api/admin/customer/1/fastPathSettings" >> ${LOG_DIR} /fastPath_settings.json
170171 curl -ks -H " Authorization: Bearer ${API_KEY} " -H " Content-Type: application/json" " ${API_URL} /api/admin/customer/1/indexSettings" >> ${LOG_DIR} /index_settings.json
172+ else
173+ echo " We could not determine the backend version. Exiting."
174+ exit 1
171175 fi
172176
173177 curl -ks -H " Authorization: Bearer ${API_KEY} " -H " Content-Type: application/json" " ${API_URL} /api/license" >> ${LOG_DIR} /license.json
@@ -201,6 +205,9 @@ main() {
201205 echo " The API_KEY supplied is Unauthorized. Please check and try again. Return Code: ${RETVAL} "
202206 exit 1
203207 fi
208+ else
209+ echo " We cannot determine the backend version. Exiting."
210+ exit 1
204211 fi
205212
206213 # Check if ScanningV1 is enabled, and if so, do ...
You can’t perform that action at this time.
0 commit comments