jscheffl commented on code in PR #65361:
URL: https://github.com/apache/airflow/pull/65361#discussion_r3093057970
##########
scripts/docker/common.sh:
##########
@@ -237,7 +237,13 @@ function common::import_trusted_gpg() {
set +e
for keyserver in $(shuf -e "${keyservers[@]}"); do
echo "${COLOR_BLUE}Try to receive GPG public key ${key} from
${keyserver}${COLOR_RESET}"
+ local keyserver_host="${keyserver#hkps://}"
+ keyserver_host="${keyserver_host#hkp://}"
Review Comment:
Are you sure you need to encode the hostname 2 times? If this is working
then it is okay, but looks a bit strange.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]