Skip to content

Commit

Permalink
move WorkingDir field position in ContainerRequest struct
Browse files Browse the repository at this point in the history
  • Loading branch information
fhke committed Nov 6, 2023
1 parent 3a87c21 commit 154b720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ type ContainerRequest struct {
WaitingFor wait.Strategy
Name string // for specifying container name
Hostname string
WorkingDir string // specify the working directory of the container
ExtraHosts []string // Deprecated: Use HostConfigModifier instead
Privileged bool // For starting privileged container
Networks []string // for specifying network names
Expand All @@ -136,7 +137,6 @@ type ContainerRequest struct {
HostConfigModifier func(*container.HostConfig) // Modifier for the host config before container creation
EnpointSettingsModifier func(map[string]*network.EndpointSettings) // Modifier for the network settings before container creation
LifecycleHooks []ContainerLifecycleHooks // define hooks to be executed during container lifecycle
WorkingDir string // specify the working directory of the container
}

// containerOptions functional options for a container
Expand Down

0 comments on commit 154b720

Please sign in to comment.