Fix on port 443 do not add port to url

[ZITADOPER-1]
This commit is contained in:
Haim Kortovich
2024-05-13 14:05:33 -05:00
parent 2a94620b96
commit 02ff904c6a
4 changed files with 17 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ func (wr *wrappedProjectReconciler) Reconcile(ctx context.Context, ztdClient *ma
if err != nil {
return err
}
{
if wr.project.Status.ProjectId != "" {
_, err := ztdClient.GetProjectByID(middleware.SetOrgID(ctx, org.Status.OrgId), &pb.GetProjectByIDRequest{Id: wr.project.Status.ProjectId})
if err != nil {
if !strings.Contains(err.Error(), "not found") {