diff options
author | Wolfy-J <[email protected]> | 2018-07-09 11:08:41 -0700 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-07-09 11:08:41 -0700 |
commit | c7f3509ce37fcda22956a2d74c322ab84e23ea6c (patch) | |
tree | 472b95a4f18b34dbd10a80e0cdafc31b22f296d8 /service/rpc | |
parent | 07e407e71bbc754fe1bc6dcff38cc0970509216d (diff) |
debug mode moved to default cmd
Diffstat (limited to 'service/rpc')
-rw-r--r-- | service/rpc/config.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/service/rpc/config.go b/service/rpc/config.go index c37b0853..93fce7ca 100644 --- a/service/rpc/config.go +++ b/service/rpc/config.go @@ -32,10 +32,6 @@ func (c *Config) Valid() error { return errors.New("invalid socket DSN (tcp://:6001, unix://rpc.sock)") } - if dsn := strings.Split(c.Listen, "://"); len(dsn) != 2 { - return errors.New("invalid socket DSN (tcp://:6001, unix://rpc.sock)") - } - return nil } |