client: plugins: catch lib_docker ctor (Tor plugin)
- Catch if lib_docker constructor fails - Add note regarding construction
This commit is contained in:
@@ -26,7 +26,10 @@ source "${DOCKER_FINANCE_CLIENT_REPO}/client/src/docker/lib/lib_docker.bash"
|
|||||||
|
|
||||||
[[ -z "$global_platform" || -z "$global_arg_delim_1" || -z "$global_user" || -z "$global_tag" ]] && lib_utils::die_fatal
|
[[ -z "$global_platform" || -z "$global_arg_delim_1" || -z "$global_user" || -z "$global_tag" ]] && lib_utils::die_fatal
|
||||||
instance="${global_platform}${global_arg_delim_1}${global_user}:${global_tag}"
|
instance="${global_platform}${global_arg_delim_1}${global_user}:${global_tag}"
|
||||||
lib_docker::docker "$instance" # NOTE: "constructor" only needed if calling library directly
|
|
||||||
|
# Initialize "constructor"
|
||||||
|
# NOTE: "constructor" only needed if calling library directly
|
||||||
|
lib_docker::docker "$instance" || lib_utils::die_fatal
|
||||||
|
|
||||||
#
|
#
|
||||||
# Implementation
|
# Implementation
|
||||||
|
|||||||
Reference in New Issue
Block a user