use local remote

This commit is contained in:
autom8ter 2020-01-15 11:59:07 -07:00
parent c2297727bd
commit f8ccbe2a8c
2 changed files with 3 additions and 2 deletions

View file

@ -11,7 +11,7 @@ import (
"io"
"os"
"github.com/spf13/viper"
"github.com/ShaleApps/viper"
crypt "github.com/xordataexchange/crypt/config"
)

View file

@ -25,6 +25,7 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/ghodss/yaml"
"io"
"log"
"os"
@ -1752,7 +1753,7 @@ func (v *Viper) WatchRemoteConfigOnChannel() error {
// Retrieve the first found remote configuration.
func (v *Viper) getKeyValueConfig() error {
if RemoteConfig == nil {
return RemoteConfigError("Enable the remote features by doing a blank import of the viper/remote package: '_ github.com/spf13/viper/remote'")
return RemoteConfigError("Enable the remote features by doing a blank import of the viper/remote package: '_ github.com/ShaleApps/viper/remote'")
}
for _, rp := range v.remoteProviders {