Add missing inline tag for YAML serialization
This commit is contained in:
parent
0e4b4c1a31
commit
f07fcd3d54
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ type itemData struct {
|
||||||
|
|
||||||
// ProviderBuilder is responsible for constructing namespaced instances of the Consul Catalog provider.
|
// ProviderBuilder is responsible for constructing namespaced instances of the Consul Catalog provider.
|
||||||
type ProviderBuilder struct {
|
type ProviderBuilder struct {
|
||||||
Configuration `export:"true"`
|
Configuration `yaml:",inline" export:"true"`
|
||||||
|
|
||||||
// Deprecated: use Namespaces option instead.
|
// Deprecated: use Namespaces option instead.
|
||||||
Namespace string `description:"Sets the namespace used to discover services (Consul Enterprise only)." json:"namespace,omitempty" toml:"namespace,omitempty" yaml:"namespace,omitempty"`
|
Namespace string `description:"Sets the namespace used to discover services (Consul Enterprise only)." json:"namespace,omitempty" toml:"namespace,omitempty" yaml:"namespace,omitempty"`
|
||||||
|
|
|
@ -16,7 +16,7 @@ var _ provider.Provider = (*Provider)(nil)
|
||||||
|
|
||||||
// ProviderBuilder is responsible for constructing namespaced instances of the Consul provider.
|
// ProviderBuilder is responsible for constructing namespaced instances of the Consul provider.
|
||||||
type ProviderBuilder struct {
|
type ProviderBuilder struct {
|
||||||
kv.Provider `export:"true"`
|
kv.Provider `yaml:",inline" export:"true"`
|
||||||
|
|
||||||
// Deprecated: use Namespaces instead.
|
// Deprecated: use Namespaces instead.
|
||||||
Namespace string `description:"Sets the namespace used to discover the configuration (Consul Enterprise only)." json:"namespace,omitempty" toml:"namespace,omitempty" yaml:"namespace,omitempty"`
|
Namespace string `description:"Sets the namespace used to discover the configuration (Consul Enterprise only)." json:"namespace,omitempty" toml:"namespace,omitempty" yaml:"namespace,omitempty"`
|
||||||
|
|
Loading…
Reference in a new issue