From 6d8172f7f1b6ce40b6e8f38e5bb9d1d6beae18f1 Mon Sep 17 00:00:00 2001 From: janelletavares Date: Fri, 1 Apr 2022 17:04:22 -0700 Subject: [PATCH] lint --- cmd/meroxa/root/apps/deploy.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/meroxa/root/apps/deploy.go b/cmd/meroxa/root/apps/deploy.go index a8ba2aefd..c78eaced7 100644 --- a/cmd/meroxa/root/apps/deploy.go +++ b/cmd/meroxa/root/apps/deploy.go @@ -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 }