Skip to content

Commit f7948eb

Browse files
committed
fix test
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
1 parent 0265149 commit f7948eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/storegateway/bucket_stores_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ import (
3737
"github.com/thanos-io/thanos/pkg/store/labelpb"
3838
"github.com/thanos-io/thanos/pkg/store/storepb"
3939
"github.com/weaveworks/common/logging"
40+
"github.com/weaveworks/common/user"
4041
"go.uber.org/atomic"
4142
"google.golang.org/grpc/codes"
4243
"google.golang.org/grpc/metadata"
@@ -761,6 +762,7 @@ func querySeries(stores BucketStores, userID, metricName string, minT, maxT int6
761762
}
762763

763764
ctx := setUserIDToGRPCContext(context.Background(), userID)
765+
ctx = user.InjectOrgID(ctx, userID)
764766
srv := newBucketStoreSeriesServer(ctx)
765767
err = stores.Series(req, srv)
766768

0 commit comments

Comments
 (0)