diff options
author | Valery Piashchynski <[email protected]> | 2020-12-26 01:16:35 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-12-26 01:16:35 +0300 |
commit | 6fe39bc935ceb847b21c289adaf700035454de6b (patch) | |
tree | 799074fdd110ce754ed495957032e53f44bc136c /plugins/rpc/config.go | |
parent | 6cbc67e9bfce7fcb5da2f402adeb9e83cab8f717 (diff) |
Fix builds on windowsv2.0.0-beta3
Diffstat (limited to 'plugins/rpc/config.go')
-rw-r--r-- | plugins/rpc/config.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/rpc/config.go b/plugins/rpc/config.go index 7f3474d7..719fd5e3 100644 --- a/plugins/rpc/config.go +++ b/plugins/rpc/config.go @@ -4,6 +4,8 @@ import ( "errors" "net" "strings" + + "github.com/spiral/roadrunner/v2/util" ) // Config defines RPC service config. @@ -33,7 +35,7 @@ func (c *Config) Valid() error { // Listener creates new rpc socket Listener. func (c *Config) Listener() (net.Listener, error) { - return CreateListener(c.Listen) + return util.CreateListener(c.Listen) } // Dialer creates rpc socket Dialer. |