mirror of
https://github.com/langgenius/dify.git
synced 2026-05-12 15:58:19 +08:00
fix: handle missing reset named volumes
This commit is contained in:
parent
681654ae6e
commit
2d034bfab6
2
.github/scripts/reset-test-env.sh
vendored
2
.github/scripts/reset-test-env.sh
vendored
@ -350,7 +350,7 @@ volume_exists() {
|
|||||||
append_unique_volume() {
|
append_unique_volume() {
|
||||||
local candidate="$1"
|
local candidate="$1"
|
||||||
local existing
|
local existing
|
||||||
[ -n "$candidate" ] || return
|
[ -n "$candidate" ] || return 0
|
||||||
|
|
||||||
for existing in "${RESOLVED_VOLUME_NAMES[@]}"; do
|
for existing in "${RESOLVED_VOLUME_NAMES[@]}"; do
|
||||||
if [ "$existing" = "$candidate" ]; then
|
if [ "$existing" = "$candidate" ]; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user