Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
janelletavares committed Apr 2, 2022
1 parent ac63d92 commit 35f62c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/meroxa/root/apps/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ func (d *Deploy) createApplication(ctx context.Context, pipelineUUID, gitSha str
if err != nil {
if strings.Contains(err.Error(), "already exists") {
// Double check that the created application has the expected pipeline.
app, err := d.client.GetApplication(ctx, appName)
var app *meroxa.Application
app, err = d.client.GetApplication(ctx, appName)
if err != nil {
return err
}
Expand Down

0 comments on commit 35f62c0

Please sign in to comment.