fix: add involves edge from task to agent:nomos at creation
Plus sync vendor directory for Docker build compatibility.
This commit is contained in:
19
vendor/github.com/coder/websocket/netconn_notjs.go
generated
vendored
Normal file
19
vendor/github.com/coder/websocket/netconn_notjs.go
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
//go:build !js
|
||||
|
||||
package websocket
|
||||
|
||||
import "net"
|
||||
|
||||
func (nc *netConn) RemoteAddr() net.Addr {
|
||||
if unc, ok := nc.c.rwc.(net.Conn); ok {
|
||||
return unc.RemoteAddr()
|
||||
}
|
||||
return websocketAddr{}
|
||||
}
|
||||
|
||||
func (nc *netConn) LocalAddr() net.Addr {
|
||||
if unc, ok := nc.c.rwc.(net.Conn); ok {
|
||||
return unc.LocalAddr()
|
||||
}
|
||||
return websocketAddr{}
|
||||
}
|
||||
Reference in New Issue
Block a user