From 26ace7cb68354d4cfea69fbe5c07b89c0ff4322c Mon Sep 17 00:00:00 2001 From: icechen Date: Mon, 10 Jan 2022 22:10:01 +0800 Subject: [PATCH] fix: yaml tag --- config_handler/real_config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config_handler/real_config.go b/config_handler/real_config.go index 327e608..17d09df 100644 --- a/config_handler/real_config.go +++ b/config_handler/real_config.go @@ -20,7 +20,7 @@ type ( Api struct { Namespace string `json:"namespace" yaml:"namespace"` Name string `json:"name" yaml:"name"` - AliasName string `json:"alias_name" yaml:"aliasName"` + AliasName string `json:"alias_name" yaml:"alias_name"` Root string `json:"root" yaml:"root"` Type string `json:"type" yaml:"type"` Port string `json:"port" yaml:"port"` @@ -34,7 +34,7 @@ type ( Service struct { Namespace string `json:"namespace" yaml:"namespace"` Name string `json:"name" yaml:"name"` - AliasName string `json:"alias_name" yaml:"aliasName"` + AliasName string `json:"alias_name" yaml:"alias_name"` Root string `json:"root" yaml:"root"` Type string `json:"type" yaml:"type"` Port string `json:"port" yaml:"port"`