[PR #352] [MERGED] fix: launch error when using redis sentinel #464

Closed
opened 2026-02-16 01:16:02 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/352
Author: @tsonglew
Created: 6/18/2025
Status: Merged
Merged: 6/23/2025
Merged by: @Yeuoly

Base: mainHead: patch-1


📝 Commits (1)

  • 94244a3 fix: launch error when using redis sentinel

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 internal/types/app/config.go (+2 -2)

📄 Description

when using redis sentinel, REDIS_HOST and REDIS_PORT are useless, but leading to the error

main.go:25: [PANIC]Invalid configuration: Key: 'Config.RedisHost' Error:Field validation for 'RedisHost' failed on the 'required' tag

🔄 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/langgenius/dify-plugin-daemon/pull/352 **Author:** [@tsonglew](https://github.com/tsonglew) **Created:** 6/18/2025 **Status:** ✅ Merged **Merged:** 6/23/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`94244a3`](https://github.com/langgenius/dify-plugin-daemon/commit/94244a3c082ec26ed492c12435eb59833ddd1167) fix: launch error when using redis sentinel ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `internal/types/app/config.go` (+2 -2) </details> ### 📄 Description when using redis sentinel, REDIS_HOST and REDIS_PORT are useless, but leading to the error ``` main.go:25: [PANIC]Invalid configuration: Key: 'Config.RedisHost' Error:Field validation for 'RedisHost' failed on the 'required' tag ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 01:16:02 -05:00
yindo closed this issue 2026-02-16 01:16:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#464