summaryrefslogtreecommitdiff
path: root/internal/rpc/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rpc/client.go')
-rw-r--r--internal/rpc/client.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/internal/rpc/client.go b/internal/rpc/client.go
index 7b3d8f5d..91d4f09b 100644
--- a/internal/rpc/client.go
+++ b/internal/rpc/client.go
@@ -16,7 +16,6 @@ import (
)
const (
- prefix string = "rr"
rpcKey string = "rpc.listen"
// default envs
envDefault = ":-"
@@ -26,8 +25,6 @@ const (
// Client will be connected to the RPC.
func NewClient(cfg string, flags []string) (*rpc.Client, error) {
v := viper.New()
- v.AutomaticEnv()
- v.SetEnvPrefix(prefix)
v.SetEnvKeyReplacer(strings.NewReplacer(".", "_"))
v.SetConfigFile(cfg)