mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
fix(api): fix invalid platform build statements (#2064)
This commit is contained in:
parent
f62b40dc3f
commit
b1227b17e1
6 changed files with 33 additions and 40 deletions
11
api/http/handler/websocket/websocket_dial.go
Normal file
11
api/http/handler/websocket/websocket_dial.go
Normal file
|
@ -0,0 +1,11 @@
|
|||
// +build !windows
|
||||
|
||||
package websocket
|
||||
|
||||
import (
|
||||
"net"
|
||||
)
|
||||
|
||||
func createDial(scheme, host string) (net.Conn, error) {
|
||||
return net.Dial(scheme, host)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue