Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cmd) ensure error checking before checking for response code
If there is an error connecting with Kong, because error is not checked before looking at status code, it will lead to a nil pointer panic. Also, as a safeguard, a check has been added to ensure that the returned status code is 200 indeed. Fix #95
- Loading branch information