mirror of
https://github.com/shankar0123/certctl.git
synced 2026-06-07 13:41:30 +00:00
chore(fmt): catch vendor_e2e files missed by Phase 1 sweep filter
Follow-up to commit7cb453a. 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 as7cb453a: struct-tag column realignment and minor whitespace adjustments. No semantic changes. Verified via 'git diff --ignore-all-space --shortstat'.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user