Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Low: ocf-rarun: replace - with _ in RA name when generating function …
…names
  • Loading branch information
dmuhamedagic committed Nov 21, 2012
1 parent ca3a963 commit 61419a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion heartbeat/ocf-rarun
Expand Up @@ -47,7 +47,7 @@ is_var_defined() {
test z != "z$(eval echo $`echo $1`)"
}
mk_action_func() {
ACTION_FUNC=${OCF_RESOURCE_TYPE}_`echo $__OCF_ACTION | tr '-' '_'`
ACTION_FUNC=`echo ${OCF_RESOURCE_TYPE}_$__OCF_ACTION | tr '-' '_'`
}
validate_args() {
is_function $ACTION_FUNC || {
Expand Down

0 comments on commit 61419a6

Please sign in to comment.