Skip to content

Commit

Permalink
nit updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Varun359 committed Jul 25, 2023
1 parent 0bb7c60 commit 0346b19
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/pkg/ecs/ecs.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,7 @@ func (c Client) DecryptedSecrets(secrets []*ecs.ContainerSecret) ([]EnvVar, erro
Name: secret.Name,
Value: secretValue,
})
}
if parsed.Service == secretsmanager.Namespace {
} else if parsed.Service == secretsmanager.Namespace {
secretValue, err := c.secretManager.GetSecretValue(secret.ValueFrom)
if err != nil {
return nil, err
Expand Down

0 comments on commit 0346b19

Please sign in to comment.