chore(fmt): catch vendor_e2e files missed by Phase 1 sweep filter

Follow-up to commit 482c7e8. The Phase 1 sweep ran:

    gofmt -w $(gofmt -l . | grep -v vendor)

The 'grep -v vendor' filter was meant to exclude the vendor/
directory but also matched filenames containing 'vendor' as a
substring — namely:
  deploy/test/vendor_e2e_helpers.go
  deploy/test/vendor_e2e_phase3_to_13_test.go

Both files had gofmt-pending struct-field alignment that the sweep
should have caught. CI run 25192862937 (Go Build & Test) surfaced
them at the new gofmt-drift step.

Fix: re-run the sweep with an anchored filter (grep -v '^vendor/')
that only excludes the vendor directory at repo root, not any
filename containing 'vendor'.

Same gofmt-standard reformat as 482c7e8: struct-tag column
realignment and minor whitespace adjustments. No semantic changes.
Verified via 'git diff --ignore-all-space --shortstat'.
This commit is contained in:
shankar0123
2026-04-30 22:42:47 +00:00
parent 320ef7344e
commit a3ed6e8e03
2 changed files with 13 additions and 12 deletions
+11 -11
View File
@@ -44,17 +44,17 @@ type vendorSidecar struct {
}
var sidecarMap = map[string]vendorSidecar{
"apache": {name: "apache-test", hostPort: "127.0.0.1:20443"},
"haproxy": {name: "haproxy-test", hostPort: "127.0.0.1:20444"},
"traefik": {name: "traefik-test", hostPort: "127.0.0.1:20445"},
"caddy": {name: "caddy-test", hostPort: "127.0.0.1:20446", healthPath: "http://127.0.0.1:22019/config/"},
"envoy": {name: "envoy-test", hostPort: "127.0.0.1:20447"},
"postfix": {name: "postfix-test", hostPort: "127.0.0.1:20465"},
"dovecot": {name: "dovecot-test", hostPort: "127.0.0.1:20993"},
"openssh": {name: "openssh-test", hostPort: "127.0.0.1:20022"},
"f5-mock": {name: "f5-mock-icontrol", hostPort: "127.0.0.1:20443"},
"k8s-kind": {name: "k8s-kind-test", hostPort: ""},
"windows-iis": {name: "windows-iis-test", hostPort: "127.0.0.1:20448"},
"apache": {name: "apache-test", hostPort: "127.0.0.1:20443"},
"haproxy": {name: "haproxy-test", hostPort: "127.0.0.1:20444"},
"traefik": {name: "traefik-test", hostPort: "127.0.0.1:20445"},
"caddy": {name: "caddy-test", hostPort: "127.0.0.1:20446", healthPath: "http://127.0.0.1:22019/config/"},
"envoy": {name: "envoy-test", hostPort: "127.0.0.1:20447"},
"postfix": {name: "postfix-test", hostPort: "127.0.0.1:20465"},
"dovecot": {name: "dovecot-test", hostPort: "127.0.0.1:20993"},
"openssh": {name: "openssh-test", hostPort: "127.0.0.1:20022"},
"f5-mock": {name: "f5-mock-icontrol", hostPort: "127.0.0.1:20443"},
"k8s-kind": {name: "k8s-kind-test", hostPort: ""},
"windows-iis": {name: "windows-iis-test", hostPort: "127.0.0.1:20448"},
}
// requireSidecar skips the test cleanly when the sidecar isn't
+2 -1
View File
@@ -15,7 +15,8 @@
// environments without `docker compose --profile deploy-e2e up -d`).
//
// Per frozen decision 0.6: discoverable via
// go test -tags integration -run 'VendorEdge_<vendor>'
//
// go test -tags integration -run 'VendorEdge_<vendor>'
package integration
import (