You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2023/09/08 11:44:25 UTC
[skywalking-swck] branch master updated: Fix panic in storage reconciler. (#94)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-swck.git
The following commit(s) were added to refs/heads/master by this push:
new fd6f354 Fix panic in storage reconciler. (#94)
fd6f354 is described below
commit fd6f354bf8af88d0196d02ff5ca2b8be41a847b1
Author: weixiang1862 <65...@qq.com>
AuthorDate: Fri Sep 8 19:44:19 2023 +0800
Fix panic in storage reconciler. (#94)
* Fix panic in storage reconciler.
* Rename UIReconciler recorder name to "ui-controller".
---------
Co-authored-by: weixiang1862 <we...@gmail.com>
---
operator/main.go | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/operator/main.go b/operator/main.go
index e2c8bbf..5920459 100644
--- a/operator/main.go
+++ b/operator/main.go
@@ -94,7 +94,7 @@ func main() {
Client: mgr.GetClient(),
Scheme: mgr.GetScheme(),
FileRepo: manifests.NewRepo("ui"),
- Recorder: mgr.GetEventRecorderFor("oapserver-controller"),
+ Recorder: mgr.GetEventRecorderFor("ui-controller"),
}).SetupWithManager(mgr); err != nil {
setupLog.Error(err, "unable to create controller", "controller", "UI")
os.Exit(1)
@@ -113,6 +113,7 @@ func main() {
Scheme: mgr.GetScheme(),
FileRepo: manifests.NewRepo("storage"),
RestConfig: mgr.GetConfig(),
+ Recorder: mgr.GetEventRecorderFor("storage-controller"),
}).SetupWithManager(mgr); err != nil {
setupLog.Error(err, "unable to create controller", "controller", "Storage")
os.Exit(1)