From 7c6405b158e1867d56050230a2d41f15bee9d70b Mon Sep 17 00:00:00 2001 From: kjake Date: Mon, 20 Jan 2025 13:21:13 -0500 Subject: [PATCH] Build for unix Test build against our fork before opening a PR against the origin --- diagnostic/diagnostic.go | 2 +- diagnostic/network/collector_unix.go | 2 +- diagnostic/network/collector_unix_test.go | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/diagnostic/diagnostic.go b/diagnostic/diagnostic.go index 0b0edbc8..c8992e79 100644 --- a/diagnostic/diagnostic.go +++ b/diagnostic/diagnostic.go @@ -15,7 +15,7 @@ import ( "github.com/rs/zerolog" - network "github.com/cloudflare/cloudflared/diagnostic/network" + network "github.com/kjake/cloudflared/diagnostic/network" ) const ( diff --git a/diagnostic/network/collector_unix.go b/diagnostic/network/collector_unix.go index 2db2d262..a2630adf 100644 --- a/diagnostic/network/collector_unix.go +++ b/diagnostic/network/collector_unix.go @@ -1,4 +1,4 @@ -//go:build darwin || linux +//go:build darwin || linux || unix package diagnostic diff --git a/diagnostic/network/collector_unix_test.go b/diagnostic/network/collector_unix_test.go index 5ec231a3..2772a3d6 100644 --- a/diagnostic/network/collector_unix_test.go +++ b/diagnostic/network/collector_unix_test.go @@ -1,4 +1,4 @@ -//go:build darwin || linux +//go:build darwin || linux || unix package diagnostic_test @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - diagnostic "github.com/cloudflare/cloudflared/diagnostic/network" + diagnostic "github.com/kjake/cloudflared/diagnostic/network" ) func TestDecode(t *testing.T) {