Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit fea0cf8

Browse files
committed
Fix linter
Signed-off-by: Guillaume Tardif <[email protected]>
1 parent 6fc8eef commit fea0cf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

local/compose.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ func getContainerCreateOptions(p *types.Project, s types.ServiceConfig, number i
804804
StopTimeout: toSeconds(s.StopGracePeriod),
805805
}
806806

807-
mountOptions, err := buildContainerMountOptions(p, s, inherit)
807+
mountOptions, err := buildContainerMountOptions(s, inherit)
808808
if err != nil {
809809
return nil, nil, nil, err
810810
}
@@ -851,7 +851,7 @@ func buildContainerBindingOptions(s types.ServiceConfig) nat.PortMap {
851851
return bindings
852852
}
853853

854-
func buildContainerMountOptions(p *types.Project, s types.ServiceConfig, inherit *moby.Container) ([]mount.Mount, error) {
854+
func buildContainerMountOptions(s types.ServiceConfig, inherit *moby.Container) ([]mount.Mount, error) {
855855
mounts := []mount.Mount{}
856856
var inherited []string
857857
if inherit != nil {

0 commit comments

Comments
 (0)