mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #275] [MERGED] Fix DiskSize regex to accept decimals #364
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#364
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Telmate/proxmox-api-go/pull/275
Author: @Mice7R
Created: 8/22/2023
Status: ✅ Merged
Merged: 12/6/2023
Merged by: @mleone87
Base:
master← Head:accept_decimal_sizes📝 Commits (1)
394604bFix DiskSize regex to accept decimals📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
proxmox/util.go(+1 -1)📄 Description
Size should accept decimal but the regex only accept whole numbers. This changes the regex to also detect decimal numbers like 0.2G.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.