Skip to content

fix: repair vpc enis build break from T-1145/T-1294 merge#130

Merged
ArjenSchwarz merged 1 commit into
mainfrom
fix/vpcenis-build-break
Jun 1, 2026
Merged

fix: repair vpc enis build break from T-1145/T-1294 merge#130
ArjenSchwarz merged 1 commit into
mainfrom
fix/vpcenis-build-break

Conversation

@ArjenSchwarz

Copy link
Copy Markdown
Owner

main HEAD (5f67962) does not compile. PRs #126 (T-1145) and #128 (T-1294) both edited cmd/vpcenis.go and merged sequentially without rebasing, fusing T-1145's RunE conversion with T-1294's writeENIs split into non-compiling code:

  • enis() returns error but had a bare return and no trailing return
  • the void writeENIs() had a stray return nil

This repairs both. go build, go test ./..., go vet, and golangci-lint all pass.

PRs #126 (T-1145, RunE conversion) and #128 (T-1294, writeENIs split)
both modified cmd/vpcenis.go and were merged sequentially without
rebasing, fusing into code that does not compile: enis() returns error
but had a bare 'return', and the void writeENIs() had a stray 'return nil'.

Fixes the enis() returns and removes the stray return so main builds again.
@ArjenSchwarz ArjenSchwarz merged commit 3d783d1 into main Jun 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant