Skip to content

Commit

Permalink
Same fix for pipedv1
Browse files Browse the repository at this point in the history
Signed-off-by: Yoshiki Fujikane <[email protected]>
  • Loading branch information
ffjlabo committed Sep 18, 2024
1 parent 6aa0a06 commit 8ffadca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/app/pipedv1/deploysource/deploysource.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (p *provider) Get(ctx context.Context, lw io.Writer) (*DeploySource, error)

if !p.done {
p.source, p.err = p.prepare(ctx, lw)
p.done = true
p.done = p.err == nil // If there is an error, we should re-prepare it next time.

Check warning on line 92 in pkg/app/pipedv1/deploysource/deploysource.go

View check run for this annotation

Codecov / codecov/patch

pkg/app/pipedv1/deploysource/deploysource.go#L92

Added line #L92 was not covered by tests
}

if p.err != nil {
Expand Down

0 comments on commit 8ffadca

Please sign in to comment.