func (i *Instance) viper(key string) *viper.Viper {
	v := i.main
	if i.overrides.IsSet(key) {
		v = i.overrides
	}

	return v
}
// viper returns the viper instance that should be used to get the provided
// key. Returns the overrides instance if the key exists there, otherwise it
// returns the main instance. Assumes read lock held.
viper returns the viper instance that should be used to get the provided
key. Returns the overrides instance if the key exists there, otherwise it
returns the main instance. Assumes read lock held.
// viper returns the viper instance that should be used to get the provided // key . Returns the overrides instance if the key exists there otherwise it // returns the main instance . Assumes read lock held .
func (i *Instance) viper(key string) *viper.Viper {
	v := i.main
	if i.overrides.IsSet(key) {
		v = i.overrides
	}
	return v
}
func ( i * Instance ) viper ( key string ) * viper . Viper { v := i . main if i . overrides . IsSet ( key ) { v = i . overrides } return v }
viper returns the viper instance that should be used to get the provided
key.
viper returns the viper instance that should be used to get the provided key .