Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more logs and fix scheduler logic #130

Merged
merged 7 commits into from
Aug 6, 2021
Merged

Add more logs and fix scheduler logic #130

merged 7 commits into from
Aug 6, 2021

Conversation

DimitarHristov111
Copy link
Contributor

@DimitarHristov111 DimitarHristov111 commented Aug 2, 2021

  • Adds logs to show more information when the stage is in an unknown state and when an application is changed.
  • Fixes the logic inside the scheduler to account for all apps.

@DimitarHristov111 DimitarHristov111 changed the title Add more logs Add more logs and fix scheduler logic Aug 3, 2021
Copy link
Contributor

@maruina maruina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of comments but generally LGTM

@@ -173,6 +173,8 @@ func (r *ProgressiveSyncReconciler) requestsForApplicationChange(o client.Object
Namespace: pr.Namespace,
Name: pr.Name,
}})
message := fmt.Sprintf("App name: %s; App status: %s", app.Name, &app.Status)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The whole app status is quite big, maybe we only care about the sync status and health status?

maruina
maruina previously approved these changes Aug 6, 2021
@maruina maruina merged commit 9cac96e into main Aug 6, 2021
@maruina maruina deleted the add-more-logs branch August 6, 2021 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants