cli/pkg/cmd/gist
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
..
clone Remove IsTenancy and relevant tests from gists as they are unsupported 2024-10-15 12:41:23 -07:00
create Deprecate ColorScheme.Gray for ColorScheme.Muted 2025-04-06 10:18:48 -04:00
delete Fix StatusJSONResponse usage (#10810) 2025-05-01 20:22:43 +01:00
edit Fix: accidental whitespace in gist edit 2025-01-16 11:44:46 -07:00
list Refactor ColorScheme initializer 2025-04-04 11:57:37 -04:00
rename Update usage to lower-kebab-case 2025-02-14 22:12:22 +05:00
shared Deprecate ColorScheme.Gray for ColorScheme.Muted 2025-04-06 10:18:48 -04:00
view Deprecate ColorScheme.Gray for ColorScheme.Muted 2025-04-06 10:18:48 -04:00
gist.go Refactor filtering into existing gist list 2024-10-12 23:17:55 -07:00