cli/pkg/cmd/gpg-key
Babak K. Shandiz 284880c21e
Fix StatusJSONResponse usage (#10810)
* Fix `StatusJSONResponse` usage

Signed-off-by: Babak K. Shandiz <babakks@github.com>

* Replace `assert` with `require`

Signed-off-by: Babak K. Shandiz <babakks@github.com>

* Improve assertion against errors

Signed-off-by: Babak K. Shandiz <babakks@github.com>

* Add `JSONErrorResponse` helper func

Signed-off-by: Babak K. Shandiz <babakks@github.com>

* Use `httpmock.JSONErrorResponse`

Signed-off-by: Babak K. Shandiz <babakks@github.com>

* Replace `StatusJSONResponse` to `JSONErrorResponse` for better readibility

Signed-off-by: Babak K. Shandiz <babakks@github.com>

* Fix improper use of `StatsJSONResponse`

Signed-off-by: Babak K. Shandiz <babakks@github.com>

---------

Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-01 20:22:43 +01:00
..
add Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
delete Fix StatusJSONResponse usage (#10810) 2025-05-01 20:22:43 +01:00
list Remove out of scope changes, update list commands 2025-03-31 11:58:30 -04:00
gpg_key.go Add gpg-key delete command (#6360) 2022-10-17 09:07:51 +03:00