Skip to content

Commit

Permalink
Check for missing deployment (#755)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyuboxa authored May 27, 2023
1 parent 7f49c78 commit f8ce9c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/meroxa/root/apps/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,9 @@ func (d *Deploy) appModified(ctx context.Context) (bool, error) {

latest, err := d.client.GetLatestDeployment(ctx, app.Name)
if err != nil {
if strings.Contains(err.Error(), "could not find deployment") {
return true, nil
}
return false, err
}

Expand Down

0 comments on commit f8ce9c9

Please sign in to comment.