Viper commit

This commit is contained in:
laxmanvallandas 2019-01-05 14:11:24 +05:30
parent d80342619e
commit 9f79234f5e

View file

@ -23,6 +23,7 @@ import (
"bytes"
"encoding/csv"
"encoding/json"
"errors"
"fmt"
"io"
"log"
@ -31,7 +32,6 @@ import (
"reflect"
"strings"
"time"
"errors"
yaml "gopkg.in/yaml.v2"
@ -1536,7 +1536,7 @@ func (v *Viper) getRemoteConfig(provider RemoteProvider) (map[string]interface{}
}
// Retrieve the First Found remote configuration
func (v *Viper)GetRemoteConf() (io.Reader, error) {
func (v *Viper) GetRemoteConf() (io.Reader, error) {
for _, rp := range v.remoteProviders {
reader, err := RemoteConfig.Get(rp)
if err != nil {