Skip to content

Commit b5f8beb

Browse files
DevonKSzacxihu
andauthored
fix(swarm): relative env_file [BE-13157] (#3122)
Co-authored-by: zacxihu <4939037+zacxihu@users.noreply.github.com>
1 parent 8c3d428 commit b5f8beb

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

exec/docker_swarm_stack.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ func (service *DockerSwarmStackService) Deploy(
3333
return service.swarmDeployer.Deploy(ctx, filePaths, libswarm.DeployOptions{
3434
Options: libswarm.Options{
3535
ProjectName: name,
36-
WorkingDir: options.WorkingDir,
3736
Env: options.Env,
3837
Registries: registryCredsToAuthConfigs(options.Registries),
3938
},
@@ -51,7 +50,6 @@ func (service *DockerSwarmStackService) Pull(_ context.Context, _ string, _ []st
5150
func (service *DockerSwarmStackService) Validate(ctx context.Context, name string, filePaths []string, options deployer.ValidateOptions) error {
5251
return service.swarmDeployer.Validate(ctx, filePaths, libswarm.Options{
5352
ProjectName: name,
54-
WorkingDir: options.WorkingDir,
5553
Env: options.Env,
5654
Registries: registryCredsToAuthConfigs(options.Registries),
5755
})

0 commit comments

Comments
 (0)