[PR #357] [MERGED] Fix staticcheck #420

Closed
opened 2026-02-28 00:42:08 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Telmate/proxmox-api-go/pull/357
Author: @Tinyblargon
Created: 8/15/2024
Status: Merged
Merged: 8/15/2024
Merged by: @Tinyblargon

Base: masterHead: fix-staticcheck


📝 Commits (2)

  • b7d5560 fix: staticcheck SA1006
  • e108614 refactor: improve code readability

📊 Changes

5 files changed (+23 additions, -22 deletions)

View changed files

📝 proxmox/config_pool.go (+3 -2)
📝 proxmox/config_qemu.go (+2 -2)
📝 proxmox/config_qemu_cloudinit.go (+5 -6)
📝 proxmox/config_qemu_memory.go (+8 -8)
📝 proxmox/snapshot.go (+5 -4)

📄 Description

fix staticcheck errors, and minor code readability improvements


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Telmate/proxmox-api-go/pull/357 **Author:** [@Tinyblargon](https://github.com/Tinyblargon) **Created:** 8/15/2024 **Status:** ✅ Merged **Merged:** 8/15/2024 **Merged by:** [@Tinyblargon](https://github.com/Tinyblargon) **Base:** `master` ← **Head:** `fix-staticcheck` --- ### 📝 Commits (2) - [`b7d5560`](https://github.com/Telmate/proxmox-api-go/commit/b7d5560bd47a63d9eea9a3205d200be1acf0d4ca) fix: staticcheck SA1006 - [`e108614`](https://github.com/Telmate/proxmox-api-go/commit/e108614eb7d1eaf8f5f83cd8fa14ea5290bba1a9) refactor: improve code readability ### 📊 Changes **5 files changed** (+23 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `proxmox/config_pool.go` (+3 -2) 📝 `proxmox/config_qemu.go` (+2 -2) 📝 `proxmox/config_qemu_cloudinit.go` (+5 -6) 📝 `proxmox/config_qemu_memory.go` (+8 -8) 📝 `proxmox/snapshot.go` (+5 -4) </details> ### 📄 Description fix staticcheck errors, and minor code readability improvements --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:42:08 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmox-api-go#420
No description provided.