Skip to content

Commit 24870ec

Browse files
committed
Pass PYTHON env var to memory tracker
It was not honoring PYTHON3_VERSION when running with GLOBAL_VENV=false, this patch fixes it. Related-Bug: #2109591 Change-Id: Ib34c099b897e59fce24cab6e98dc31a505e4922e
1 parent 3fe8873 commit 24870ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/dstat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function start_dstat {
3333
# To enable memory_tracker add:
3434
# enable_service memory_tracker
3535
# to your localrc
36-
run_process memory_tracker "$TOP_DIR/tools/memory_tracker.sh" "" "root"
36+
run_process memory_tracker "$TOP_DIR/tools/memory_tracker.sh" "" "root" "PYTHON=python${PYTHON3_VERSION}"
3737

3838
# TODO(jh): Fail when using the old service name otherwise consumers might
3939
# never notice that is has been removed.

0 commit comments

Comments
 (0)