Skip to content

Commit

Permalink
Merge pull request #5 from SUSE/poc_phase01
Browse files Browse the repository at this point in the history
ra/SAPCMControlZone: solving shellcheck issues
  • Loading branch information
lpinne authored Apr 11, 2024
2 parents 8f660fd + 9387c0a commit a403611
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ra/SAPCMControlZone
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ function mz_init()
declare -a mz_path_arr
mz_user="${OCF_RESKEY_USER:-mzadmin}"
mz_path_str="${OCF_RESKEY_MZSHELL:-/usr/bin/mzsh}"
# shellcheck disable=SC2206
IFS=: mz_path_arr=( $mz_path_str )
mz_shell_local="${mz_path_arr[0]}"
if [[ -n "${mz_path_arr[1]}" ]]; then
Expand All @@ -223,7 +224,8 @@ function mz_init()
# first-and-only (0) path is local and central
mz_shell_central="$mz_shell_local"
fi
mz_shell="$mz_shell_local"
# mz_shell="$mz_shell_local"
# shellcheck disable=SC2034
mz_search_list="/usr/bin:/usr/sap/[A-Z][A-Z0-9][A-Z0-9]/CMP[0-9][0-9]/CM/bin/"
mz_component="${OCF_RESKEY_SERVICE:-platform}"
# shellcheck disable=SC2034 # variable for future usage
Expand Down
2 changes: 1 addition & 1 deletion sap-convergent-resource-agents.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

Name: sap-convergent-resource-agents
Version: 0.2.1
Version: 0.2.2
Release: 0
Group: Productivity/Clustering/HA
Summary: Resource agents to control the convergent mediation control zone
Expand Down

0 comments on commit a403611

Please sign in to comment.