-
Notifications
You must be signed in to change notification settings - Fork 29
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
[chaosplt 207] namespace tag gone #936
base: main
Are you sure you want to change the base?
Conversation
api/v1beta1/disruption_webhook.go
Outdated
@@ -113,7 +114,7 @@ var _ webhook.Defaulter = &Disruption{} | |||
// Default implements webhook.Defaulter so a webhook will be registered for the type | |||
func (r *Disruption) Default() { | |||
if r.Spec.Duration.Duration() == 0 { | |||
logger.Infow(fmt.Sprintf("setting default duration of %s in disruption", defaultDuration), "instance", r.Name, "namespace", r.Namespace) | |||
logger.Infow(fmt.Sprintf("setting default duration of %s in disruption", defaultDuration), cLog.DisruptionNameKey, r.Name, cLog.DisruptionNamespaceKey, r.Namespace) |
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.
this is gonna disappear on rebase
Datadog ReportBranch report: ✅ 0 Failed, 978 Passed, 8 Skipped, 14m 37.08s Total Time |
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.
🧽
What does this PR do?
Please briefly describe your changes as well as the motivation behind them:
Our logs were using multiple different tags for the same resource.
Code Quality Checklist
Testing
unit
tests orend-to-end
tests.unit
tests orend-to-end
tests.x