Skip to content

fix(storage): content listing accepts numbers typed as strings - #2

Merged
MakFly merged 1 commit into
mainfrom
fix/storage-content-flex-numbers
Oct 28, 2026
Merged

MakFly merged 1 commit into
mainfrom
fix/storage-content-flex-numbers

Conversation

@MakFly

@MakFly MakFly commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

Fixes #1. pvecli storage content local-lvm failed on the whole listing because PVE typed ctime as a string for one volume. Volume now decodes ctime, size, used and vmid through the existing flexInt, which accepts a number or a numeric string. A non-numeric value is still refused.

Verified: go test ./... passes, and the live storage content local-lvm on the pve node lists every volume.

🤖 Generated with Claude Code

…, size, used, vmid)

Fixes #1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MakFly
MakFly merged commit 1c750e9 into main Oct 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

storage content : le listing plante quand PVE renvoie ctime en chaîne

1 participant