Skip to content

Commit

Permalink
minor code format fix
Browse files Browse the repository at this point in the history
Signed-off-by: schaubl <schaubl@users.noreply.github.com>
  • Loading branch information
schaubl committed Feb 18, 2025
1 parent c835bbc commit 0762b94
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pkg/compose/create.go
Original file line number Diff line number Diff line change
@@ -976,7 +976,6 @@ func checkContainerConfigsSecrets(p types.Project, s types.ServiceConfig) error
}

func checkContainerConfigs(p types.Project, s types.ServiceConfig) error {

for _, config := range s.Configs {
definedConfig := p.Configs[config.Source]
if definedConfig.External {
2 changes: 1 addition & 1 deletion pkg/compose/secrets.go
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@ func (s *composeService) injectSecrets(ctx context.Context, project *types.Proje
if content == "" {
continue
}

if config.Target == "" {
config.Target = "/run/secrets/" + config.Source
} else if !isAbsTarget(config.Target) {

0 comments on commit 0762b94

Please sign in to comment.