From 9331e710e5598d5d2e783794c865f20819e8fae5 Mon Sep 17 00:00:00 2001 From: Michi Mutsuzaki Date: Tue, 12 Mar 2024 23:25:09 +0000 Subject: [PATCH] refactor: Move sniff under connectivity The sniff package is used only by the connectivity package. Move it from utils/sniff to connectivity/sniff to simplify the package structure. Signed-off-by: Michi Mutsuzaki --- {utils => connectivity}/sniff/filters.go | 0 {utils => connectivity}/sniff/sniffer.go | 0 connectivity/tests/encryption.go | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename {utils => connectivity}/sniff/filters.go (100%) rename {utils => connectivity}/sniff/sniffer.go (100%) diff --git a/utils/sniff/filters.go b/connectivity/sniff/filters.go similarity index 100% rename from utils/sniff/filters.go rename to connectivity/sniff/filters.go diff --git a/utils/sniff/sniffer.go b/connectivity/sniff/sniffer.go similarity index 100% rename from utils/sniff/sniffer.go rename to connectivity/sniff/sniffer.go diff --git a/connectivity/tests/encryption.go b/connectivity/tests/encryption.go index 2f121574cf..95cc00f7c6 100644 --- a/connectivity/tests/encryption.go +++ b/connectivity/tests/encryption.go @@ -12,8 +12,8 @@ import ( "github.com/cilium/cilium/pkg/versioncheck" "github.com/cilium/cilium-cli/connectivity/check" + "github.com/cilium/cilium-cli/connectivity/sniff" "github.com/cilium/cilium-cli/utils/features" - "github.com/cilium/cilium-cli/utils/sniff" ) type requestType int