Skip to content

Commit 43328d2

Browse files
t0r0idBhoumik Shah
andauthored
fix: Fixing launch_milvus by cd'ing to milvus_dir (#3795)
Co-authored-by: Bhoumik Shah <[email protected]>
1 parent e53cc2b commit 43328d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haystack/utils/doc_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def launch_milvus(sleep=15, delete_existing=False):
133133
with open(milvus_dir / "docker-compose.yml", "wb") as f:
134134
f.write(request.content)
135135

136-
status = subprocess.run(["cd /home/$USER/milvus/ && docker-compose up -d"], shell=True)
136+
status = subprocess.run([f"cd {milvus_dir} && docker-compose up -d"], shell=True)
137137

138138
if status.returncode:
139139
logger.warning(

0 commit comments

Comments
 (0)