summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-07-09 11:08:41 -0700
committerWolfy-J <[email protected]>2018-07-09 11:08:41 -0700
commitc7f3509ce37fcda22956a2d74c322ab84e23ea6c (patch)
tree472b95a4f18b34dbd10a80e0cdafc31b22f296d8 /service
parent07e407e71bbc754fe1bc6dcff38cc0970509216d (diff)
debug mode moved to default cmd
Diffstat (limited to 'service')
-rw-r--r--service/rpc/config.go4
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
}