You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it is not respected at all. The issue might be the gcloud.go:
// applyOptions applies the options to the container request and returns the settings.
func applyOptions(req testcontainers.GenericContainerRequest, opts []testcontainers.ContainerCustomizer) options {
settings := defaultOptions()
for _, opt := range opts {
if apply, ok := opt.(Option); ok {
apply(&settings)
}
opt.Customize(&req)
}
return settings
}
Note that the req is not a pointer within the method signature. So i guess we will have a shadowed version of req which get's modified but the actual req is not modified.
Relevant log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
Testcontainers version
0.27.0
Using the latest Testcontainers version?
Yes
Host OS
MacOS
Host arch
arm64
Go version
1.21
Docker version
Client: Cloud integration: v1.0.35+desktop.5 Version: 24.0.6 API version: 1.43 Go version: go1.20.7 Git commit: ed223bc Built: Mon Sep 4 12:28:49 2023 OS/Arch: darwin/arm64 Context: desktop-linux Server: Docker Desktop 4.25.2 (129061) Engine: Version: 24.0.6 API version: 1.43 (minimum version 1.12) Go version: go1.20.7 Git commit: 1a79695 Built: Mon Sep 4 12:31:36 2023 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.6.22 GitCommit: 8165feabfdfe38c65b599c4993d227328c231fca runc: Version: 1.1.8 GitCommit: v1.1.8-0-g82f18fe docker-init: Version: 0.19.0 GitCommit: de40ad0
Docker info
What happened?
Once you provide a custom Image URL to use a newer version as the shipped image with
it is not respected at all. The issue might be the
gcloud.go
:Note that the req is not a pointer within the method signature. So i guess we will have a shadowed version of req which get's modified but the actual req is not modified.
Relevant log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: