Fix key creation apiAPP

[ZITADOPER-1]
This commit is contained in:
Haim Kortovich
2024-05-15 16:51:00 -05:00
parent 0c82e28fd2
commit 148d48e742
2 changed files with 6 additions and 4 deletions

View File

@@ -142,7 +142,9 @@ func (wr *wrappedProjectReconciler) reconcileProject(ctx context.Context, ztdCli
return nil
}
if err != nil {
return fmt.Errorf("Error getting project: %v", err)
if !strings.Contains(err.Error(), "not found") {
return fmt.Errorf("Error getting project: %v", err)
}
}
}