[PR #121] [MERGED] add a nil check on config to HasTag to not panic if it was never set #162

Closed
opened 2026-03-03 15:30:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/luthermonson/go-proxmox/pull/121
Author: @luthermonson
Created: 2/25/2024
Status: Merged
Merged: 2/25/2024
Merged by: @luthermonson

Base: mainHead: nil-check-config


📝 Commits (1)

  • 80decba add a nil check on config to HasTag to not panic if it was never set

📊 Changes

1 file changed (+4 additions, -0 deletions)

View changed files

📝 virtual_machine.go (+4 -0)

📄 Description

fixes #120


🔄 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/luthermonson/go-proxmox/pull/121 **Author:** [@luthermonson](https://github.com/luthermonson) **Created:** 2/25/2024 **Status:** ✅ Merged **Merged:** 2/25/2024 **Merged by:** [@luthermonson](https://github.com/luthermonson) **Base:** `main` ← **Head:** `nil-check-config` --- ### 📝 Commits (1) - [`80decba`](https://github.com/luthermonson/go-proxmox/commit/80decbaebe1fa748c7ecec6e978600128430557f) add a nil check on config to HasTag to not panic if it was never set ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `virtual_machine.go` (+4 -0) </details> ### 📄 Description fixes #120 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 15:30:29 +03:00
Sign in to join this conversation.
No labels
pull-request
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/go-proxmox#162
No description provided.