[PR #10307] [MERGED] pihole-exporter fix: unbound var #8539

Closed
opened 2026-02-05 08:34:08 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/10307
Author: @CrazyWolf13
Created: 12/25/2025
Status: Merged
Merged: 12/25/2025
Merged by: @tremor021

Base: mainHead: CrazyWolf13-patch-1


📝 Commits (3)

📊 Changes

2 files changed (+3 additions, -8 deletions)

View changed files

📝 tools/addon/pihole-exporter.sh (+2 -5)
📝 tools/addon/qbittorrent-exporter.sh (+1 -3)

📄 Description

✍️ Description

Fix an unbound var and remove duplicate code

Fixes #

Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

🔄 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/community-scripts/ProxmoxVE/pull/10307 **Author:** [@CrazyWolf13](https://github.com/CrazyWolf13) **Created:** 12/25/2025 **Status:** ✅ Merged **Merged:** 12/25/2025 **Merged by:** [@tremor021](https://github.com/tremor021) **Base:** `main` ← **Head:** `CrazyWolf13-patch-1` --- ### 📝 Commits (3) - [`80b7901`](https://github.com/community-scripts/ProxmoxVE/commit/80b7901ff037327ebd4d3433458ae18e6c9ea365) fix: unbound var - [`e42c5c8`](https://github.com/community-scripts/ProxmoxVE/commit/e42c5c84b675c9732bc748e9f7ed14cd49257555) fix: qbittorrent-exporter: remove duplicate code - [`cba22f5`](https://github.com/community-scripts/ProxmoxVE/commit/cba22f51a0d7a35a770f3ab2dbdcbf0816634d4b) stylistics ### 📊 Changes **2 files changed** (+3 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `tools/addon/pihole-exporter.sh` (+2 -5) 📝 `tools/addon/qbittorrent-exporter.sh` (+1 -3) </details> ### 📄 Description <!--🛑 New scripts must be submitted to [ProxmoxVED](https://github.com/community-scripts/ProxmoxVED) for testing. PRs without prior testing will be closed. --> ## ✍️ Description Fix an unbound var and remove duplicate code ## 🔗 Related Issue Fixes # ## ✅ Prerequisites (**X** in brackets) - [x] **Self-review completed** – Code follows project standards. - [ ] **Tested thoroughly** – Changes work as expected. - [x] **No security risks** – No hardcoded secrets, unnecessary privilege escalations, or permission issues. --- ## 🛠️ Type of Change (**X** in brackets) - [x] 🐞 **Bug fix** – Resolves an issue without breaking functionality. - [ ] ✨ **New feature** – Adds new, non-breaking functionality. - [ ] 💥 **Breaking change** – Alters existing functionality in a way that may require updates. - [ ] 🆕 **New script** – A fully functional and tested script or script set. - [ ] 🌍 **Website update** – Changes to website-related JSON files or metadata. - [x] 🔧 **Refactoring / Code Cleanup** – Improves readability or maintainability without changing functionality. - [ ] 📝 **Documentation update** – Changes to `README`, `AppName.md`, `CONTRIBUTING.md`, or other docs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 08:34:08 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#8539