Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Add missing
Content-Type
key in Invoke-RestMethod -Headers
Fixes Powershell 7.4 which now expects either `Invoke-RestMethod -Headers @{ 'Content-type' = '...' }` or `-ContentType` to be populated, or it would error with `The given key 'Content-Type' was not present in the dictionary.`. See: - https://github.com/theohbrothers/docker-kubectl/actions/runs/7909389274/job/21590330176#step:3:1516 - https://github.com/theohbrothers/docker-terraform/actions/runs/7837925330/job/21388510328#step:3:636
- Loading branch information