Skip to content

Commit 88cb16d

Browse files
committed
chore: simplify concat
1 parent fb2c0aa commit 88cb16d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

modules/firebase/options.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package firebase
22

33
import (
4-
"fmt"
5-
64
"github.com/testcontainers/testcontainers-go"
75
)
86

@@ -44,7 +42,7 @@ const cacheFilePath = "/root/.cache/firebase"
4442

4543
// WithCache enables firebase binary cache based on session (meaningful only when multiple tests are used)
4644
func WithCache() testcontainers.CustomizeRequestOption {
47-
volumeName := fmt.Sprintf("firestore-cache-%s", testcontainers.SessionID())
45+
volumeName := "firestore-cache-" + testcontainers.SessionID()
4846

4947
return testcontainers.WithMounts(testcontainers.ContainerMount{
5048
Source: testcontainers.DockerVolumeMountSource{

0 commit comments

Comments
 (0)