Skip to content

Commit

Permalink
Merge pull request #21206 from Sheroune/container_internal_common
Browse files Browse the repository at this point in the history
Remove redundant code in generateSpec()
  • Loading branch information
openshift-merge-bot[bot] authored Jan 9, 2024
2 parents 1b8bd0d + 380fa1c commit bed60d9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libpod/container_internal_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -607,9 +607,6 @@ func (c *Container) generateSpec(ctx context.Context) (s *spec.Spec, cleanupFunc
if err != nil {
return nil, nil, err
}
if err != nil {
return nil, nil, err
}
for name, secr := range c.config.EnvSecrets {
_, data, err := manager.LookupSecretData(secr.Name)
if err != nil {
Expand Down

0 comments on commit bed60d9

Please sign in to comment.