add parked_domans

This commit is contained in:
sasburg authored and GitHub committed 2022-10-01 18:11:46 -07:00
1 parent 2c90d220b8
commit e02f07d356
1 file changed
+2 -2
+2 -2
View File
@@ -173,7 +173,7 @@ cpanel_uapi_deploy() {
######## Private functions ##################### ######## Private functions #####################
# Internal utility to process YML from UAPI - only looks at main_domain, sub_domains and addon domains # Internal utility to process YML from UAPI - looks at main_domain, sub_domains, addon domains and parked domains
#[response] #[response]
__cpanel_parse_response() { __cpanel_parse_response() {
if [ $# -gt 0 ]; then resp="$*"; else resp="$(cat)"; fi if [ $# -gt 0 ]; then resp="$*"; else resp="$(cat)"; fi
@@ -194,7 +194,7 @@ __cpanel_parse_response() {
printf("%s%s=%s\n", prefix, $2, $3); printf("%s%s=%s\n", prefix, $2, $3);
} }
}' | }' |
sed -En -e 's/^result\/data\/(main_domain|sub_domains\/-|addon_domains\/-)=(.*)$/\2/p' sed -En -e 's/^result\/data\/(main_domain|sub_domains\/-|addon_domains\/-|parked_domains\/-)=(.*)$/\2/p'
} }
# Load parameter by prefix+name - fallback to default if not set, and save to config # Load parameter by prefix+name - fallback to default if not set, and save to config
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.