fix: yaml tag
continuous-integration/drone/push Build is passing Details

master
icechen 2022-01-10 22:10:01 +08:00
parent 5e3059fb54
commit 26ace7cb68
1 changed files with 2 additions and 2 deletions

View File

@ -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"`