1
0
Fork 0
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:
Anthony Lapenna 2018-07-23 16:49:04 +02:00 committed by GitHub
parent f62b40dc3f
commit b1227b17e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 33 additions and 40 deletions

View file

@ -0,0 +1,11 @@
// +build !windows
package websocket
import (
"net"
)
func createDial(scheme, host string) (net.Conn, error) {
return net.Dial(scheme, host)
}