chore(ssh): correct function name
This commit is contained in:
parent
2f3914a460
commit
7f9b932193
@ -100,7 +100,7 @@ check_devuser_attached() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
get_access_mode_and_session() {
|
get_access_mode() {
|
||||||
local yaml_file="access.yml"
|
local yaml_file="access.yml"
|
||||||
local workspace="$1"
|
local workspace="$1"
|
||||||
local person="$2"
|
local person="$2"
|
||||||
@ -135,7 +135,7 @@ get_access_mode_and_session() {
|
|||||||
|
|
||||||
# === Main ===
|
# === Main ===
|
||||||
|
|
||||||
read -r access_line < <(get_access_mode_and_session "$WORKSPACE" "$PERSON") || exit 1
|
read -r access_line < <(get_access_mode "$WORKSPACE" "$PERSON") || exit 1
|
||||||
MODE="${access_line#access=}"
|
MODE="${access_line#access=}"
|
||||||
|
|
||||||
case "$MODE" in
|
case "$MODE" in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user