Skip to content

fix(instance): show unknown server-type availability when missing#3760

Merged
remyleone merged 1 commit intoscaleway:masterfrom
Codelax:fix/instance-server-types-availability-unknown
Apr 11, 2024
Merged

fix(instance): show unknown server-type availability when missing#3760
remyleone merged 1 commit intoscaleway:masterfrom
Codelax:fix/instance-server-types-availability-unknown

Conversation

@Codelax
Copy link
Member

@Codelax Codelax commented Apr 11, 2024

Fix #3752
Default to unknown availability if API response miss a server-type. API seems to be a bit random using this route.

@Codelax Codelax added bug instance Instance issues, bugs and feature requests labels Apr 11, 2024
@Codelax Codelax self-assigned this Apr 11, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.26%. Comparing base (5bf53e0) to head (6292902).
Report is 16 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3760      +/-   ##
==========================================
+ Coverage   75.45%   77.26%   +1.80%     
==========================================
  Files         202      204       +2     
  Lines       44323    37363    -6960     
==========================================
- Hits        33444    28868    -4576     
+ Misses       9653     7256    -2397     
- Partials     1226     1239      +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@remyleone remyleone added this pull request to the merge queue Apr 11, 2024
Merged via the queue into scaleway:master with commit 3165ce8 Apr 11, 2024
jremy42 pushed a commit to jremy42/scaleway-cli that referenced this pull request Apr 12, 2024
Laure-di pushed a commit to Laure-di/scaleway-cli that referenced this pull request Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug instance Instance issues, bugs and feature requests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

scw instance server-type list -o json crash with runtime error: invalid memory address or nil pointer dereference

3 participants