Comment 4 for bug 1468188

Revision history for this message
Dave Cheney (dave-cheney) wrote :

Thanks william. This does look like a problem in the tests, the real code does this

func (st *State) EnvironConfig() (*config.Config, error) {
        settings, err := readSettings(st, environGlobalKey)
        if err != nil {
                return nil, errors.Trace(err)
        }
        attrs := settings.Map()
        return config.New(config.NoDefaults, attrs)
}