From 8a68dbe0ecbe28e20dfc582371d307da8bdab918 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Tue, 21 Mar 2023 12:15:57 +0100 Subject: [PATCH] fix setting tor+snowflake tunnel in case it's needed --- internal/experiment/riseupvpn/riseupvpn.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/experiment/riseupvpn/riseupvpn.go b/internal/experiment/riseupvpn/riseupvpn.go index 01a1c0abc4..f0645e6c33 100644 --- a/internal/experiment/riseupvpn/riseupvpn.go +++ b/internal/experiment/riseupvpn/riseupvpn.go @@ -265,8 +265,8 @@ func (m Measurer) Run(ctx context.Context, args *model.ExperimentArgs) error { } if testkeys.APIStatus == "blocked" { - for _, input := range inputs { - input.Config.Tunnel = "torsf" + for i := range inputs { + inputs[i].Config.Tunnel = "torsf" } for entry := range multi.CollectOverall(ctx, inputs, 1, 20, "riseupvpn", callbacks) { testkeys.UpdateProviderAPITestKeys(entry)