You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by zh...@apache.org on 2024/09/06 10:39:01 UTC
(dubbo-kubernetes) branch master updated: [horus] Change naming format (#323)
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 9555ba98 [horus] Change naming format (#323)
9555ba98 is described below
commit 9555ba988e5708eb6cd5f5fce8cf6e19fa4b5fb2
Author: mfordjody <11...@qq.com>
AuthorDate: Fri Sep 6 18:38:56 2024 +0800
[horus] Change naming format (#323)
---
app/horus/cmd/main.go | 4 ++--
deploy/horus/horus.yaml | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/app/horus/cmd/main.go b/app/horus/cmd/main.go
index ff53c77d..ef1bb5c8 100644
--- a/app/horus/cmd/main.go
+++ b/app/horus/cmd/main.go
@@ -23,13 +23,13 @@ import (
)
var (
- httpAddr string
+ address string
configFile string
)
func main() {
flag.StringVar(&configFile, "configFile", "deploy/horus/horus.yaml", "horus config file")
- flag.StringVar(&httpAddr, "httpAddr", "0.0.0.0:38089", "horus http addr")
+ flag.StringVar(&address, "address", "0.0.0.0:38089", "horus address")
klog.InitFlags(flag.CommandLine)
flag.Parse()
diff --git a/deploy/horus/horus.yaml b/deploy/horus/horus.yaml
index 61079cbc..707fff91 100644
--- a/deploy/horus/horus.yaml
+++ b/deploy/horus/horus.yaml
@@ -13,9 +13,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-HttpAddr: 0.0.0.0:38089
+address: 0.0.0.0:38089
-Mysql:
- Name: horus
- Addr: "root:root@tcp(127.0.0.1:3306)/horus?charset=utf8&parseTime=True"
- Debug: false
\ No newline at end of file
+mysql:
+ name: horus
+ addr: "root:root@tcp(127.0.0.1:3306)/horus?charset=utf8&parseTime=True"
+ debug: false
\ No newline at end of file