[PR #2276] [MERGED] refactor(util): fix sonarcube issues #16862

Open
opened 2026-08-05 04:06:38 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2276
Author: @mrl5
Created: 7/16/2024
Status: Merged
Merged: 7/16/2024
Merged by: @lixmal

Base: mainHead: syslog-refactor


📝 Commits (1)

  • aff9ac6 refactor(util): fix sonarcube issues

📊 Changes

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

View changed files

📝 util/log.go (+2 -2)
📝 util/syslog_windows.go (+4 -1)

📄 Description

Describe your changes

this is a follow up for commit 1d6f5482dd
There are two SonarQube issues that needed fixing:

related to #2255

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 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/netbirdio/netbird/pull/2276 **Author:** [@mrl5](https://github.com/mrl5) **Created:** 7/16/2024 **Status:** ✅ Merged **Merged:** 7/16/2024 **Merged by:** [@lixmal](https://github.com/lixmal) **Base:** `main` ← **Head:** `syslog-refactor` --- ### 📝 Commits (1) - [`aff9ac6`](https://github.com/netbirdio/netbird/commit/aff9ac6502b2829ade029a72259a64d96f7007e3) refactor(util): fix sonarcube issues ### 📊 Changes **2 files changed** (+6 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `util/log.go` (+2 -2) 📝 `util/syslog_windows.go` (+4 -1) </details> ### 📄 Description ## Describe your changes this is a follow up for commit 1d6f5482ddae3ae6805f279e180034a3b127c013 There are two SonarQube issues that needed fixing: - https://sonarcloud.io/project/issues?sinceLeakPeriod=true&issueStatuses=OPEN%2CCONFIRMED&id=netbirdio_netbird&open=AZC6oQn7LtoaMq5atDqH - https://sonarcloud.io/project/issues?sinceLeakPeriod=true&issueStatuses=OPEN%2CCONFIRMED&types=CODE_SMELL&id=netbirdio_netbird&open=AZC6oQpqLtoaMq5atDqI ## Issue ticket number and link related to #2255 ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [x] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 04:06:38 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#16862