Skip to content

Commit

Permalink
change RegistryType default value
Browse files Browse the repository at this point in the history
  • Loading branch information
FoghostCn committed Jan 15, 2024
1 parent b41bb61 commit 2e5a4ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion global/registry_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type RegistryConfig struct {
Zone string `yaml:"zone" json:"zone,omitempty" property:"zone"` // The region where the registry belongs, usually used to isolate traffics
Weight int64 `yaml:"weight" json:"weight,omitempty" property:"weight"` // Affects traffic distribution among registriesConfig, useful when subscribe to multiple registriesConfig Take effect only when no preferred registry is specified.
Params map[string]string `yaml:"params" json:"params,omitempty" property:"params"`
RegistryType string `default:"all" yaml:"registry-type"`
RegistryType string `yaml:"registry-type"`
UseAsMetaReport bool `default:"true" yaml:"use-as-meta-report" json:"use-as-meta-report,omitempty" property:"use-as-meta-report"`
UseAsConfigCenter bool `default:"true" yaml:"use-as-config-center" json:"use-as-config-center,omitempty" property:"use-as-config-center"`
}
Expand Down

0 comments on commit 2e5a4ea

Please sign in to comment.