-
Notifications
You must be signed in to change notification settings - Fork 398
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
🌱 Syncer: Complete the move to structural logging #2134
🌱 Syncer: Complete the move to structural logging #2134
Conversation
9a3c9cb
to
25fd06e
Compare
f0f19d8
to
ef0a039
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One question, otherwise looks good!
pkg/server/bootstrap/identity.go
Outdated
@@ -135,7 +135,7 @@ func wildcardIdentitiesResolver(ids *identities, | |||
logger := logging.WithObject(logger, &apisv1alpha1.APIExport{ | |||
ObjectMeta: metav1.ObjectMeta{ | |||
Name: name, | |||
Annotations: map[string]string{logging.APIVersionKey: tenancyv1alpha1.RootCluster.String()}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be the logicalcluster key...?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I don't know. I just added the string()
around it when the key was of Key
type. But now it should be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed my change in fact. And let the previous code.
Signed-off-by: David Festal <dfestal@redhat.com>
ef0a039
to
f5a50e8
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: stevekuznetsov The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: stevekuznetsov The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Summary
Complete the move to structural logging in the Syncer.
This has been started in a previous PR, but many places were not finished.