Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sverdlov93 committed Jun 13, 2024
1 parent 0c3bdf5 commit 31e1329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/tests/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (c *ContainerRequest) Remove() *ContainerRequest {
// source - it is the path where the mount should be mounted within the localhost
// Target - It's the path where the mount should be mounted within the container
func (c *ContainerRequest) Mount(hostPath, target string, readOnly bool) *ContainerRequest {
c.request.Mounts = append(c.request.Mounts, testcontainers.ContainerMount{Source: testcontainers.GenericBindMountSource{HostPath: hostPath}, Target: testcontainers.ContainerMountTarget(target), ReadOnly: readOnly})
c.request.Mounts = append(c.request.Mounts, testcontainers.ContainerMount{Source: testcontainers.GenericVolumeMountSource{Name: hostPath}, Target: testcontainers.ContainerMountTarget(target), ReadOnly: readOnly})
return c
}

Expand Down

0 comments on commit 31e1329

Please sign in to comment.