This is an automated email from the ASF dual-hosted git repository.
zhongxjian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-kubernetes.git
The following commit(s) were added to refs/heads/master by this push:
new b5adc7ae [horus] Optimize unnecessary configurations (#433)
b5adc7ae is described below
commit b5adc7ae604cd6b7141b12e905f05819f83321e4
Author: mfordjody <[email protected]>
AuthorDate: Sun Oct 6 10:33:53 2024 +0800
[horus] Optimize unnecessary configurations (#433)
---
app/horus/core/alerter/dingtalk.go | 2 --
app/horus/core/alerter/slack.go | 2 --
app/horus/core/manager/manager.go | 27 ---------------------------
manifests/horus/horus.yaml | 2 +-
4 files changed, 1 insertion(+), 32 deletions(-)
diff --git a/app/horus/core/alerter/dingtalk.go
b/app/horus/core/alerter/dingtalk.go
index d62ac7b9..2a13d531 100644
--- a/app/horus/core/alerter/dingtalk.go
+++ b/app/horus/core/alerter/dingtalk.go
@@ -24,8 +24,6 @@ import (
"net/http"
)
-const DingTalkTitle = "horus 通知"
-
type T struct {
At struct {
AtMobiles []string `json:"atMobiles"`
diff --git a/app/horus/core/alerter/slack.go b/app/horus/core/alerter/slack.go
index ec1a3b47..c1d45935 100644
--- a/app/horus/core/alerter/slack.go
+++ b/app/horus/core/alerter/slack.go
@@ -24,8 +24,6 @@ import (
"net/http"
)
-const SlackTitle = "项目组"
-
type Text struct {
Text string `json:"text"`
}
diff --git a/app/horus/core/manager/manager.go
b/app/horus/core/manager/manager.go
deleted file mode 100644
index ccd384d4..00000000
--- a/app/horus/core/manager/manager.go
+++ /dev/null
@@ -1,27 +0,0 @@
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-package manager
-
-type Manager struct {
- httpAddr string
-}
-
-func NewManager(httpAddr string) *Manager {
- pm := &Manager{
- httpAddr: httpAddr,
- }
- return pm
-}
diff --git a/manifests/horus/horus.yaml b/manifests/horus/horus.yaml
index cf5f26ee..d9869011 100644
--- a/manifests/horus/horus.yaml
+++ b/manifests/horus/horus.yaml
@@ -25,7 +25,7 @@ kubeMultiple:
cluster: config.1
promMultiple:
- cluster: http://192.168.15.133:31173
+ cluster: http://192.168.15.133:31974
nodeRecovery:
enabled: false