File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 433433function application_export {
434434 local APPLICATION_ID=$*
435435 if [[ $APPLICATION_ID =~ ^[0-9]+$ ]]; then
436- controller_call /controller/ConfigObjectImportExportServlet? applicationId=97
436+ controller_call /controller/ConfigObjectImportExportServlet? applicationId=$APPLICATION_ID
437437 else
438438 COMMAND_RESULT=" "
439439 error " This is not a number: '$APPLICATION_ID '"
Original file line number Diff line number Diff line change 33function application_export {
44 local APPLICATION_ID=$*
55 if [[ $APPLICATION_ID =~ ^[0-9]+$ ]]; then
6- controller_call /controller/ConfigObjectImportExportServlet? applicationId=97
6+ controller_call /controller/ConfigObjectImportExportServlet? applicationId=$APPLICATION_ID
77 else
88 COMMAND_RESULT=" "
99 error " This is not a number: '$APPLICATION_ID '"
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ function apiCall {
3+ echo $*
4+ }
You can’t perform that action at this time.
0 commit comments