actions / runner-container-hooks

Runner Container Hooks for GitHub Actions
MIT License
76 stars 46 forks source link

Ensure response consist no matter having ports or not. #70

Closed TingluoHuang closed 1 year ago

TingluoHuang commented 1 year ago

"container":{"id":null,"network":null,"ports":{}} "services":[{"id":null,"network":null,"ports":null}]

The service's ports is NULL instead of {} which causes the runner hit null ref exceptions. We will fix the runner in the next version as well, but in the short term, we will just patch the hock since it's easy/cheap to release.