mirror of
https://github.com/DaoCloud/public-image-mirror.git
synced 2025-08-08 20:22:14 +08:00
Update fmt.sh (#734)
This commit is contained in:
@@ -14,7 +14,7 @@ function filter_docker_library() {
|
||||
|
||||
function filter_k8s_old() {
|
||||
while read -r line; do
|
||||
if [[ $line =~ ^k8s\.gcr\.io/[^/]*$ ]]; then
|
||||
if [[ $line =~ ^k8s\.gcr\.io/.*$ ]]; then
|
||||
echo "registry.k8s.io/${line#k8s.gcr.io/}"
|
||||
else
|
||||
echo "${line}"
|
||||
|
Reference in New Issue
Block a user