From 952406dc6e3b374730114e702bd6faa0a46a87d1 Mon Sep 17 00:00:00 2001 From: Smuu <18609909+Smuu@users.noreply.github.com> Date: Fri, 7 Jun 2024 09:01:51 +0200 Subject: [PATCH] Revert "add scope name to prefix" This reverts commit 657bd0c41a1ad16443522bc2db2eeaaca8203fdd. --- pkg/instance/tshark.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/instance/tshark.go b/pkg/instance/tshark.go index 19ccd603..b5790ca5 100644 --- a/pkg/instance/tshark.go +++ b/pkg/instance/tshark.go @@ -2,8 +2,6 @@ package instance import ( "context" - - "github.com/celestiaorg/knuu/pkg/knuu" ) const ( @@ -40,7 +38,7 @@ func (i *Instance) createTsharkCollectorInstance(ctx context.Context) (*Instance "STORAGE_SECRET_ACCESS_KEY": i.tsharkCollectorConfig.s3SecretKey, "STORAGE_REGION": i.tsharkCollectorConfig.s3Region, "STORAGE_BUCKET_NAME": i.tsharkCollectorConfig.s3Bucket, - "STORAGE_KEY_PREFIX": i.tsharkCollectorConfig.s3KeyPrefix + "/" + knuu.Scope(), + "STORAGE_KEY_PREFIX": i.tsharkCollectorConfig.s3KeyPrefix, "CAPTURE_FILE_NAME": i.k8sName + ".pcapng", }