func NewConfigWithYAML(in []byte, source string) (*Config, error) { opts := append( []ucfg.Option{ ucfg.MetaData(ucfg.Meta{source}), }, configOpts..., ) c, err := yaml.NewConfig(in, opts...) return fromConfig(c), err }
func NewConfigWithYAML(in []byte, source string) (*Config, error) { c, err := yaml.NewConfig(in, ucfg.PathSep("."), ucfg.MetaData(ucfg.Meta{source})) return fromConfig(c), err }