Skip to content

Commit

Permalink
fix: Slight adjustment for static code analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisWeissmann committed Jun 5, 2024
1 parent 09a33c7 commit dd87883
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions citrineos/add-charger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,16 @@ add_location() {

# Function to add a charging station
add_charging_station() {
local token=$1
local location_id=$2
local chargepointId=$3
local token="$1"
local location_id="$2"
local chargepointId="$3"
curl -s --request POST \
--url "${DIRECTUS_API_URL}/items/ChargingStations" \
--header "Authorization: Bearer $token" \
--header "Content-Type: application/json" \
--data '{
"id": "'$chargepointId'",
"locationId": "'$location_id'"
"id": "'"$chargepointId"'",
"locationId": "'"$location_id"'"
}' | tee /dev/tty && echo
}

Expand All @@ -112,7 +112,7 @@ add_cp001_password() {
},
"variableAttribute": [
{
"value": "'$passwordString'"
"value": "'"$passwordString"'"
}
],
"variableCharacteristics": {
Expand Down
4 changes: 2 additions & 2 deletions demo-iso15118-2-ac-plus-ocpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ git clone --branch "${DEMO_BRANCH}" "${DEMO_REPO}" everest-demo

if [[ "$DEMO_VERSION" != v1.6j && "$DEMO_CSMS" == meave ]]; then
echo "Cloning MaEVe CSMS from ${MAEVE_REPO} into ${DEMO_DIR}/maeve-csms and starting it"
git clone ${MAEVE_REPO} maeve-csms
git clone "${MAEVE_REPO}" maeve-csms

pushd maeve-csms || exit 1

git reset --hard ${MAEVE_BRANCH}
git reset --hard "${MAEVE_BRANCH}"
cp ../everest-demo/manager/cached_certs_correct_name_emaid.tar.gz .

echo "Patching the CSMS to disable load balancer"
Expand Down

0 comments on commit dd87883

Please sign in to comment.