Skip to content

Conversation

@mattsanta
Copy link
Contributor

  • fix: port-forward error logs failed to port forward

Reflect changes in os.Process introduced in Go 1.23

  • use reflect to make it future proof(?)

  • Add safeguards to call FieldByName

  • Add basic test to getHandleFromProcess

  • Fix copyright year

* fix: port-forward error logs `failed to port forward`

Reflect changes in `os.Process` introduced in Go 1.23

* use `reflect` to make it future proof(?)

* Add safeguards to call FieldByName

* Add basic test to getHandleFromProcess

* Fix copyright year
@mattsanta
Copy link
Contributor Author

Linter is failing because a new schema version was added after this commit was merged to main and the linter is looking for the files generated when that new schema version was added. Since this commit we're cherry picking doesn't have any config changes I think we should be OK to ignore the failure.

Error in linter:

Error: time="2025-03-19T13:11:55Z" level=fatal msg="reading \"pkg/skaffold/schema/v4beta12/config.go\": open pkg/skaffold/schema/v4beta12/config.go: no such file or directory"

@mattsanta mattsanta marked this pull request as ready for review March 19, 2025 13:17
@mattsanta mattsanta requested a review from a team as a code owner March 19, 2025 13:17
@Darien-Lin Darien-Lin merged commit d76dbab into GoogleContainerTools:release/v2.14 Mar 19, 2025
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants