Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix postgres port issue by just port-forwarding a different one in ./…
…scripts/load_dev_db.sh Summary: we keep getting this issue with ./script/load_dev_db.sh where a running postgres instance gets in the way. To avoid this issue, here's a solution where we get a port that's two above a typical postgres and choose that instead. Slightly better than nothing, but might benefit from a future where we error out saying the port is busy. Kinda hard to do in bash, would recommend we rewrite in golang to really do this properly. Test Plan: Tested out and after port change, now successfully writes to k8s postgres. Reviewers: vihang, nserrino, michelle Reviewed By: vihang Differential Revision: https://phab.corp.pixielabs.ai/D8487 GitOrigin-RevId: aa770ba
- Loading branch information