mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #264] [MERGED] refactor: snapshot formatting #352
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#352
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/264
Author: @Tinyblargon
Created: 6/4/2023
Status: ✅ Merged
Merged: 6/7/2023
Merged by: @mleone87
Base:
master← Head:Refactor-Snapshot📝 Commits (1)
73d2473refactor: snapshot formatting📊 Changes
3 files changed (+17 additions, -15 deletions)
View changed files
📝
cli/command/list/list-snapshots.go(+3 -3)📝
proxmox/snapshot.go(+10 -8)📝
proxmox/snapshot_test.go(+4 -4)📄 Description
Introduced the private type
rawSnapshotsto make it easier for a user to figure out what to do with the output ofListSnapshots(). As before you needed to know that the output of theListSnapshots()function was an intermediary step forFormatSnapshotsList()andFormatSnapshotsTree(). Due to this change the user would be able to figure it out with their IDE's auto-completion.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.