Skip to content

Commit

Permalink
add scope name to prefix
Browse files Browse the repository at this point in the history
Signed-off-by: Smuu <[email protected]>
  • Loading branch information
smuu committed Jun 7, 2024
1 parent 9dcab5e commit 657bd0c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/instance/tshark.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package instance

import (
"context"

"github.com/celestiaorg/knuu/pkg/knuu"
)

const (
Expand Down Expand Up @@ -38,7 +40,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,
"STORAGE_KEY_PREFIX": i.tsharkCollectorConfig.s3KeyPrefix + "/" + knuu.Scope(),
"CAPTURE_FILE_NAME": i.k8sName + ".pcapng",
}

Expand Down

0 comments on commit 657bd0c

Please sign in to comment.