mirror of
https://github.com/rustfs/rustfs.git
synced 2026-03-17 14:24:08 +00:00
fix(entrypoint): remove dead HTTP URL check in volume filtering (#1761)
Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
committed by
GitHub
parent
da58f8e291
commit
c07ed61989
@@ -57,15 +57,8 @@ process_data_volumes() {
|
|||||||
|
|
||||||
for vol in $VOLUME_LIST; do
|
for vol in $VOLUME_LIST; do
|
||||||
case "$vol" in
|
case "$vol" in
|
||||||
/*)
|
/*) DATA_VOLUMES="$DATA_VOLUMES $vol" ;;
|
||||||
case "$vol" in
|
*) : ;; # skip non-absolute paths (including http(s):// URLs)
|
||||||
http://*|https://*) : ;;
|
|
||||||
*) DATA_VOLUMES="$DATA_VOLUMES $vol" ;;
|
|
||||||
esac
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
: # skip non-local paths
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user