[PR #1155] [MERGED] Add direct write file to avoid moving docker mounted files #14951

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1155
Author: @mlsmaycon
Created: 9/19/2023
Status: Merged
Merged: 9/22/2023
Merged by: @mlsmaycon

Base: mainHead: fix/management-config-write-error-on-docker


📝 Commits (6)

  • 0513931 Add direct write file to avoid moving docker mounted files
  • a612c1d fix open file permissions and omit empty config fields
  • 82f326f log level
  • 2c00280 fix lint notes
  • e1108f4 fix lint notes
  • 933e268 truncate file to avoid issue with buffer size

📊 Changes

3 files changed (+78 additions, -14 deletions)

View changed files

📝 management/cmd/management.go (+2 -2)
📝 management/server/idp/idp.go (+12 -12)
📝 util/file.go (+64 -0)

📄 Description

Describe your changes

fixes #1154

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/1155 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 9/19/2023 **Status:** ✅ Merged **Merged:** 9/22/2023 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `fix/management-config-write-error-on-docker` --- ### 📝 Commits (6) - [`0513931`](https://github.com/netbirdio/netbird/commit/05139311eb220247418e1f2048a4ae655551c533) Add direct write file to avoid moving docker mounted files - [`a612c1d`](https://github.com/netbirdio/netbird/commit/a612c1d3103579852e28bb83382da6c131036820) fix open file permissions and omit empty config fields - [`82f326f`](https://github.com/netbirdio/netbird/commit/82f326fd4e49b034fc96a8720c8fc7ea67e9e720) log level - [`2c00280`](https://github.com/netbirdio/netbird/commit/2c0028068aacc7ed829a173ea73c6fcf28be3573) fix lint notes - [`e1108f4`](https://github.com/netbirdio/netbird/commit/e1108f4089e429c28ddf3dee5ad27c8a875374f4) fix lint notes - [`933e268`](https://github.com/netbirdio/netbird/commit/933e26867a280c295bf867877b9742936198fe9a) truncate file to avoid issue with buffer size ### 📊 Changes **3 files changed** (+78 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `management/cmd/management.go` (+2 -2) 📝 `management/server/idp/idp.go` (+12 -12) 📝 `util/file.go` (+64 -0) </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link fixes #1154 ### Checklist - [x] 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 --- <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 03:06:40 -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#14951