scaleway-cli icon indicating copy to clipboard operation
scaleway-cli copied to clipboard

wrong references in block snapshot list

Open Codelax opened this issue 1 year ago • 1 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Command attempted

scw block snapshot list

Expected Behavior

I get my snapshots with all correct metadata.

Actual Behavior

The list shows 0 reference while scw block snapshot get shows 1 refercence.

 ± scw block snapshot list
ID                                    NAME                      SIZE   PROJECT ID                            CREATED AT    UPDATED AT    REFERENCES  STATUS  TAGS  ZONE      CLASS
41bbdea5-2cb5-4917-95d0-613790858c05  temp-build-packer_snap_1  20 GB  ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b  1 minute ago  1 minute ago  0           in_use  []    fr-par-1  sbs
 ± scw block snapshot get 41bbdea5-2cb5-4917-95d0-613790858c05
ID                                41bbdea5-2cb5-4917-95d0-613790858c05
Name                              temp-build-packer_snap_1
Size                              20 GB
ProjectID                         ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b
CreatedAt                         1 minute ago
UpdatedAt                         1 minute ago
References.0.ID                   2e4cb02a-5bb2-4378-b89e-8eca0bde7099
References.0.ProductResourceType  instance_image
References.0.ProductResourceID    acbcdf1f-3833-4eed-86da-40041dee70c5
References.0.CreatedAt            1 minute ago
References.0.Type                 link
References.0.Status               attached
Status                            in_use
Zone                              fr-par-1
Class                             sbs

Codelax avatar Dec 26 '24 10:12 Codelax

References are missing in API's responses. I contacted the block team about this issue.

Codelax avatar Dec 27 '24 09:12 Codelax