summaryrefslogtreecommitdiff
path: root/vendor/github.com/testcontainers/testcontainers-go/wait/errors_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/testcontainers/testcontainers-go/wait/errors_windows.go')
-rw-r--r--vendor/github.com/testcontainers/testcontainers-go/wait/errors_windows.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/github.com/testcontainers/testcontainers-go/wait/errors_windows.go b/vendor/github.com/testcontainers/testcontainers-go/wait/errors_windows.go
new file mode 100644
index 0000000..3ae346d
--- /dev/null
+++ b/vendor/github.com/testcontainers/testcontainers-go/wait/errors_windows.go
@@ -0,0 +1,9 @@
+package wait
+
+import (
+ "golang.org/x/sys/windows"
+)
+
+func isConnRefusedErr(err error) bool {
+ return err == windows.WSAECONNREFUSED
+}