mirror of
https://github.com/luthermonson/go-proxmox.git
synced 2026-04-26 17:35:48 +03:00
[PR #58] [MERGED] make sure we get a number, it not we set 0 #113
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-proxmox#113
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/luthermonson/go-proxmox/pull/58
Author: @earentir
Created: 4/13/2023
Status: ✅ Merged
Merged: 5/10/2023
Merged by: @luthermonson
Base:
main← Head:main📝 Commits (3)
e7f49admake sure we get a number, it not we set 025864c5fixed regex into const7142e62fixed regex according to suggestion by @luthermonson📊 Changes
1 file changed (+19 additions, -0 deletions)
View changed files
📝
types.go(+19 -0)📄 Description
I have the following issue, in any host that has stopped VMs I get the string null as b, I added a regexp check for checking if we have a number and if not set str to "0"
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.