fix(entrypoint): remove dead HTTP URL check in volume filtering (#1761)
Co-authored-by: houseme <[email protected]>
This commit is contained in:
co-authored by
houseme
parent
da58f8e291
commit
c07ed61989
+2
-9
@@ -57,15 +57,8 @@ process_data_volumes() {
|
||||
|
||||
for vol in $VOLUME_LIST; do
|
||||
case "$vol" in
|
||||
/*)
|
||||
case "$vol" in
|
||||
http://*|https://*) : ;;
|
||||
*) DATA_VOLUMES="$DATA_VOLUMES $vol" ;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
: # skip non-local paths
|
||||
;;
|
||||
/*) DATA_VOLUMES="$DATA_VOLUMES $vol" ;;
|
||||
*) : ;; # skip non-absolute paths (including http(s):// URLs)
|
||||
esac
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user